Bug 354857: Application initiated restarts don't pass -foreground to the new process on OSX. r=mossop

This commit is contained in:
Stephen Lau 2008-12-04 10:05:24 -06:00
parent 4f8ca57707
commit d3649ee8ee

View File

@ -1596,6 +1596,7 @@ static nsresult LaunchChild(nsINativeAppSupport* aNative,
PR_SetEnv("MOZ_LAUNCHED_CHILD=1");
#if defined(XP_MACOSX)
SetupMacCommandLine(gRestartArgc, gRestartArgv);
LaunchChildMac(gRestartArgc, gRestartArgv);
#else
nsCOMPtr<nsILocalFile> lf;