From 694ebf115da867b1038f437a6f0bf07a8ff48372 Mon Sep 17 00:00:00 2001 From: "danm%netscape.com" Date: Tue, 20 Jul 1999 15:26:44 +0000 Subject: [PATCH] temporary build redness fix disables hidden window git-svn-id: svn://10.0.0.236/trunk@40287 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/appshell/src/nsAppShellService.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mozilla/xpfe/appshell/src/nsAppShellService.cpp b/mozilla/xpfe/appshell/src/nsAppShellService.cpp index e51f25c14e3..1c6567af33b 100644 --- a/mozilla/xpfe/appshell/src/nsAppShellService.cpp +++ b/mozilla/xpfe/appshell/src/nsAppShellService.cpp @@ -282,11 +282,14 @@ void nsAppShellService::CreateHiddenWindow() nsresult rv; nsIURI* url = nsnull; +#if 0 // temporary until the right NECKO thing is figured out #ifndef NECKO rv = NS_NewURL(&url, "chrome://navigator/content/hiddenWindow.xul"); #else rv = NS_NewURI(&url, "chrome://navigator/content/hiddenWindow.xul"); #endif +#else + rv = NS_ERROR_FAILURE; if (NS_SUCCEEDED(rv)) { nsCOMPtr newWindow; rv = JustCreateTopWindow(nsnull, url, PR_FALSE, getter_AddRefs(newWindow), @@ -298,6 +301,7 @@ void nsAppShellService::CreateHiddenWindow() NS_RELEASE(url); } NS_ASSERTION(NS_SUCCEEDED(rv), "HiddenWindow not created"); +#endif } // Apply function (Initialize/Shutdown) to each app shell component.