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

Unified Diff: lib/child/elemHide.js

Issue 29333334: Issue 3494 - Update buildtools dependency for adblockplus to revision 4d73b9c76e34 (disable E10S co… (Closed)
Patch Set: Created Jan. 8, 2016, 4:51 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 | « lib/child/contextMenu.js ('k') | lib/utils.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/child/elemHide.js
===================================================================
--- a/lib/child/elemHide.js
+++ b/lib/child/elemHide.js
@@ -54,18 +54,17 @@ let AboutHandler =
aboutPrefix: "abp-elemhidehit",
/**
* Registers handler on startup.
*/
init: function()
{
let registrar = Components.manager.QueryInterface(Ci.nsIComponentRegistrar);
- let registerFactory = Utils.getPropertyWithoutCompatShims(registrar, "registerFactory");
- registerFactory.call(registrar, this.classID, this.classDescription,
+ registrar.registerFactory(this.classID, this.classDescription,
"@mozilla.org/network/protocol/about;1?what=" + this.aboutPrefix, this);
onShutdown.add(function()
{
registrar.unregisterFactory(this.classID, this);
}.bind(this));
},
//
« no previous file with comments | « lib/child/contextMenu.js ('k') | lib/utils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld