mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Fix for bug 90823, r=timeless, sr=sfraser
This commit is contained in:
parent
8177bc9f7f
commit
82d91c07dc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user