a=edburns
r=ashuk

Force prefs to be read, causing the proxy data to be read.
This commit is contained in:
edburns%acm.org 2000-03-23 23:08:35 +00:00
Родитель d10cf2f9a2
Коммит 8debd911c6
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -427,7 +427,9 @@ nsresult InitMozillaStuff (WebShellInitContext * initContext)
nsIPref::GetIID(),
(nsISupports **)&prefs);
if (NS_SUCCEEDED(rv)) {
prefs->ReadUserPrefs();
if (nsnull == gHistory) { // only do this once per app.
prefs->ReadUserPrefs();
}
// Set the prefs in the outermost webshell.
initContext->webShell->SetPrefs(prefs);
nsServiceManager::ReleaseService(kPrefCID, prefs);