mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
More perf tweaks.
This commit is contained in:
parent
991da264ab
commit
9342ca55d2
@ -275,7 +275,7 @@ function Startup()
|
||||
// wire up global history. the same applies here.
|
||||
var globalHistory = Components.classes["@mozilla.org/browser/global-history;1"]
|
||||
.getService(Components.interfaces.nsIGlobalHistory);
|
||||
getBrowser().docShell.QueryInterface(Components.interfaces.nsIDocShellHistory).globalHistory = globalHistory;
|
||||
gBrowser.docShell.QueryInterface(Components.interfaces.nsIDocShellHistory).globalHistory = globalHistory;
|
||||
|
||||
const selectedBrowser = gBrowser.selectedBrowser;
|
||||
if (selectedBrowser.securityUI)
|
||||
|
Loading…
Reference in New Issue
Block a user