Index: lib/api.js |
diff --git a/lib/api.js b/lib/api.js |
index fc8943116cc94a4cb3bf3be8e02401a9082be241..ca656b898f6680637d15e84a030a5c8b02986738 100644 |
--- a/lib/api.js |
+++ b/lib/api.js |
@@ -151,12 +151,12 @@ var API = (function() |
{ |
Notification.markAsShown(id); |
}, |
- checkFilterMatch: function(url, contentType, documentUrl) |
+ checkFilterMatch: function(url, contentTypeMask, documentUrl) |
{ |
var requestHost = extractHostFromURL(url); |
var documentHost = extractHostFromURL(documentUrl); |
var thirdParty = isThirdParty(requestHost, documentHost); |
- return defaultMatcher.matchesAny(url, contentType, documentHost, thirdParty); |
+ return defaultMatcher.matchesAny(url, contentTypeMask, documentHost, thirdParty); |
}, |
getElementHidingSelectors: function(domain) |