From 66e2b5f5b10805071d677657d064814c2e6faaea Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Thu, 5 Nov 2015 19:44:52 +0900 Subject: [PATCH] Remove needless wrapper --- content/treestyletab/windowHelper.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/content/treestyletab/windowHelper.js b/content/treestyletab/windowHelper.js index db0455ff..c5bcf5ec 100644 --- a/content/treestyletab/windowHelper.js +++ b/content/treestyletab/windowHelper.js @@ -12,7 +12,6 @@ var TreeStyleTabWindowHelper = { preInit : function TSTWH_preInit() { - TreeStyleTabUtils.doPatching(gBrowserInit._delayedStartup, 'gBrowserInit._delayedStartup', function(aName, aSource) { // Replacing of gBrowserInit._delayedStartup() with eval() // breaks the variable scope of the function and break its // functionality completely. @@ -25,7 +24,6 @@ var TreeStyleTabWindowHelper = { TreeStyleTabWindowHelper.runningDelayedStartup = false; return retVal; }; - }, 'TreeStyleTab'); nsBrowserAccess.prototype.__treesytletab__openURI = nsBrowserAccess.prototype.openURI; nsBrowserAccess.prototype.openURI = function(aURI, aOpener, aWhere, aContext) {