Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: include.preload.js

Issue 29555778: Issue 5776 - Updated adblockpluscore dependency to d4ed3916793a (Closed)
Patch Set: Include latest core changes Created Sept. 27, 2017, 9:19 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dependencies ('k') | lib/compat.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include.preload.js
===================================================================
--- a/include.preload.js
+++ b/include.preload.js
@@ -348,8 +348,6 @@
this.emulatedPatterns = null;
this.elemHideEmulation = new ElemHideEmulation(
- window,
- callback => callback(this.emulatedPatterns),
this.addSelectors.bind(this),
this.hideElements.bind(this)
);
@@ -501,9 +499,7 @@
else if (this.tracer)
this.tracer.addSelectors(response.selectors);
- this.emulatedPatterns = response.emulatedPatterns;
- this.elemHideEmulation.apply();
- this.emulatedPatterns = null;
+ this.elemHideEmulation.apply(response.emulatedPatterns);
});
}
};
« no previous file with comments | « dependencies ('k') | lib/compat.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld