mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 15:15:23 +00:00
bug 1171580 - Don't create a hidden window on iOS. r=froydnj
--HG-- extra : commitid : HXBwvzjCUxT extra : rebase_source : 92d22901a815f21bf739a5af4937c29165912402
This commit is contained in:
parent
e334ff0faa
commit
0244cfe6ab
@ -234,7 +234,7 @@ NS_IMPL_ISUPPORTS(nsAppStartup,
|
||||
NS_IMETHODIMP
|
||||
nsAppStartup::CreateHiddenWindow()
|
||||
{
|
||||
#ifdef MOZ_WIDGET_GONK
|
||||
#if defined(MOZ_WIDGET_GONK) || defined(MOZ_WIDGET_UIKIT)
|
||||
return NS_OK;
|
||||
#else
|
||||
nsCOMPtr<nsIAppShellService> appShellService
|
||||
@ -249,7 +249,7 @@ nsAppStartup::CreateHiddenWindow()
|
||||
NS_IMETHODIMP
|
||||
nsAppStartup::DestroyHiddenWindow()
|
||||
{
|
||||
#ifdef MOZ_WIDGET_GONK
|
||||
#if defined(MOZ_WIDGET_GONK) || defined(MOZ_WIDGET_UIKIT)
|
||||
return NS_OK;
|
||||
#else
|
||||
nsCOMPtr<nsIAppShellService> appShellService
|
||||
|
Loading…
Reference in New Issue
Block a user