Fix for MRJ JITC/TalkBack interaction crasher. r=danm, a=waterson

This commit is contained in:
beard%netscape.com 2000-10-13 01:52:45 +00:00
Родитель 1b19b2d3b6
Коммит 36ce81728a
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -975,13 +975,13 @@ static nsresult main1(int argc, char* argv[], nsISupports *nativeApp )
rv = InitializeProfileService(cmdLineArgs);
if (NS_FAILED(rv)) return rv;
// Enumerate AppShellComponenets
appShell->EnumerateAndInitializeComponents();
// rjc: now must explicitly call appshell's CreateHiddenWindow() function AFTER profile manager.
// if the profile manager ever switches to using nsIDOMWindowInternal stuff, this might have to change
appShell->CreateHiddenWindow();
// Enumerate AppShellComponenets
appShell->EnumerateAndInitializeComponents();
// This will go away once Components are handling there own commandlines
// if we have no command line arguments, we need to heed the
// "general.startup.*" prefs