Remove obsolete hack for XULBrowserWindow.hideChromeForLocation.

The method became obsolete by https://bugzilla.mozilla.org/show_bug.cgi?id=752434
This commit is contained in:
YUKI Hiroshi 2015-11-05 18:29:44 +09:00
parent 572c153337
commit 2afd90c96a

View File

@ -69,13 +69,6 @@ var TreeStyleTabWindowHelper = {
));
}, 'treestyletab');
TreeStyleTabUtils.doPatching(window.XULBrowserWindow.hideChromeForLocation, 'XULBrowserWindow.hideChromeForLocation', function(aName, aSource) {
return eval(aName+' = '+aSource.replace(
'{',
'{ if (gBrowser.treeStyleTab.isVertical) return false;\n'
));
}, 'treeStyleTab');
[
'window.duplicateTab.handleLinkClick',
'window.duplicatethistab.handleLinkClick',