From 6d2f5bae77d806b35708ecc8e9e09ec273945501 Mon Sep 17 00:00:00 2001 From: "rpotts%netscape.com" Date: Tue, 13 Jul 1999 07:21:44 +0000 Subject: [PATCH] Removed call to NET_InitJSProtocol for NECKO only... This should help fix the build bustage when NECKO is defined. git-svn-id: svn://10.0.0.236/trunk@39061 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/nsWebShell.cpp | 2 ++ mozilla/webshell/src/nsWebShell.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/mozilla/docshell/base/nsWebShell.cpp b/mozilla/docshell/base/nsWebShell.cpp index 10617d59033..ab0f86c8410 100644 --- a/mozilla/docshell/base/nsWebShell.cpp +++ b/mozilla/docshell/base/nsWebShell.cpp @@ -3744,7 +3744,9 @@ void nsWebShellFactory::StartServices() { // XXX TEMPORARY Till we have real pluggable protocol handlers +#ifndef NECKO NET_InitJavaScriptProtocol(); +#endif // NECKO mStartedServices = PR_TRUE; } diff --git a/mozilla/webshell/src/nsWebShell.cpp b/mozilla/webshell/src/nsWebShell.cpp index 10617d59033..ab0f86c8410 100644 --- a/mozilla/webshell/src/nsWebShell.cpp +++ b/mozilla/webshell/src/nsWebShell.cpp @@ -3744,7 +3744,9 @@ void nsWebShellFactory::StartServices() { // XXX TEMPORARY Till we have real pluggable protocol handlers +#ifndef NECKO NET_InitJavaScriptProtocol(); +#endif // NECKO mStartedServices = PR_TRUE; }