зеркало из https://github.com/mozilla/gecko-dev.git
r=law, sr=blake Remove unnecessary platform #ifdefs so any platform can turn on turbo mode
This commit is contained in:
Родитель
bf76e0615d
Коммит
80fc5c2504
|
@ -802,7 +802,6 @@ static nsresult Ensure1Window( nsICmdLineService* cmdLineArgs)
|
||||||
{
|
{
|
||||||
nsresult rv;
|
nsresult rv;
|
||||||
|
|
||||||
#ifdef XP_WIN32
|
|
||||||
// If starting up in server mode, then we do things differently.
|
// If starting up in server mode, then we do things differently.
|
||||||
nsCOMPtr<nsINativeAppSupport> nativeApp;
|
nsCOMPtr<nsINativeAppSupport> nativeApp;
|
||||||
rv = GetNativeAppSupport(getter_AddRefs(nativeApp));
|
rv = GetNativeAppSupport(getter_AddRefs(nativeApp));
|
||||||
|
@ -818,7 +817,6 @@ static nsresult Ensure1Window( nsICmdLineService* cmdLineArgs)
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
nsCOMPtr<nsIWindowMediator> windowMediator(do_GetService(kWindowMediatorCID, &rv));
|
nsCOMPtr<nsIWindowMediator> windowMediator(do_GetService(kWindowMediatorCID, &rv));
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче