зеркало из https://github.com/mozilla/pjs.git
Fix for bug 90823, r=timeless, sr=sfraser
This commit is contained in:
Родитель
36d361677b
Коммит
cf2b03353f
|
@ -382,17 +382,14 @@ nsNativeAppSupportMac::ReOpen()
|
|||
NS_WARNING("trying to open new window");
|
||||
//use the bootstrap helpers to make the right kind(s) of window open
|
||||
nsresult rv = PR_FALSE;
|
||||
nsCOMPtr<nsICmdLineService> cmdLineArgs(do_GetService(kCmdLineServiceCID, &rv));
|
||||
nsCOMPtr<nsIAppShellService> appShell(do_GetService(kAppShellServiceCID, &rv));
|
||||
if (!rv)
|
||||
{
|
||||
nsCOMPtr<nsIAppShellService> appShell(do_GetService(kAppShellServiceCID, &rv));
|
||||
if (!rv)
|
||||
{
|
||||
//PRBool openedAWindow;
|
||||
// uncomment when bug 109811 is fixed
|
||||
//appShell->DoCommandLines(cmdLineArgs, true, &openedAWindow);
|
||||
}
|
||||
}
|
||||
PRBool openedAWindow = PR_FALSE;
|
||||
appShell->CreateStartupState(nsIAppShellService::SIZE_TO_CONTENT,
|
||||
nsIAppShellService::SIZE_TO_CONTENT,
|
||||
&openedAWindow);
|
||||
}
|
||||
}
|
||||
|
||||
} // got window mediator
|
||||
|
|
Загрузка…
Ссылка в новой задаче