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 c53ec05b07
commit cd6296da73

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;