One more small perf opt.

git-svn-id: svn://10.0.0.236/trunk@133380 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
blakeross%telocity.com 2002-11-08 04:58:40 +00:00
parent 2a7b20c4e9
commit 6ada4c020c

View File

@ -368,8 +368,8 @@ function prepareForStartup()
// Wire up session and global history before any possible
// progress notifications for back/forward button updating
getWebNavigation().sessionHistory = Components.classes["@mozilla.org/browser/shistory;1"]
.createInstance(Components.interfaces.nsISHistory);
webNavigation.sessionHistory = Components.classes["@mozilla.org/browser/shistory;1"]
.createInstance(Components.interfaces.nsISHistory);
// wire up global history. the same applies here.
var globalHistory = Components.classes["@mozilla.org/browser/global-history;1"]