| Index: lib/elemHide.js |
| =================================================================== |
| --- a/lib/elemHide.js |
| +++ b/lib/elemHide.js |
| @@ -234,17 +234,17 @@ let ElemHide = exports.ElemHide = |
| if (attr == "data-adblockkey") |
| return sitekey; |
| else |
| return null; |
| }; |
| } |
| let {Policy} = require("contentPolicy"); |
| - return !Policy.processNode(fakeFrame, fakeFrame.document, Policy.type.ELEMHIDE, filter); |
| + return !Policy.processNode(fakeFrame, fakeFrame.document, "ELEMHIDE", filter); |
| }, |
| /** |
| * Will be set to true if apply() is running (reentrance protection). |
| * @type Boolean |
| */ |
| _applying: false, |