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:
Ted Mielczarek 2015-02-27 12:32:43 -05:00
parent e334ff0faa
commit 0244cfe6ab

View File

@ -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