From d67d8db36f9c3d4dcc1e4ce5f37cb53db8ebaf5d Mon Sep 17 00:00:00 2001 From: "BradleyJunk%cinci.rr.com" Date: Wed, 1 Oct 2003 00:11:17 +0000 Subject: [PATCH] Bug 220692 - Syntax error in /js/src/xpconnect/xpcmodule.cpp if MOZ_JSLOADER not defined. r=timeless, sr=brendan git-svn-id: svn://10.0.0.236/trunk@147470 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/js/src/xpconnect/src/xpcmodule.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mozilla/js/src/xpconnect/src/xpcmodule.cpp b/mozilla/js/src/xpconnect/src/xpcmodule.cpp index 46969deac38..791bff6b928 100644 --- a/mozilla/js/src/xpconnect/src/xpcmodule.cpp +++ b/mozilla/js/src/xpconnect/src/xpcmodule.cpp @@ -82,20 +82,20 @@ static const nsModuleComponentInfo components[] = { {nsnull, NS_JS_RUNTIME_SERVICE_CID, XPC_RUNTIME_CONTRACTID, nsIJSRuntimeServiceConstructor}, {NS_SCRIPTERROR_CLASSNAME, NS_SCRIPTERROR_CID, NS_SCRIPTERROR_CONTRACTID, nsScriptErrorConstructor }, {nsnull, SCRIPTABLE_INTERFACES_CID, NS_SCRIPTABLE_INTERFACES_CONTRACTID, nsXPCComponents_InterfacesConstructor }, - {nsnull, XPCVARIANT_CID, XPCVARIANT_CONTRACTID, nsnull, nsnull, nsnull, nsnull, NS_CI_INTERFACE_GETTER_NAME(XPCVariant), nsnull, &NS_CLASSINFO_NAME(XPCVariant)}, + {nsnull, XPCVARIANT_CID, XPCVARIANT_CONTRACTID, nsnull, nsnull, nsnull, nsnull, NS_CI_INTERFACE_GETTER_NAME(XPCVariant), nsnull, &NS_CLASSINFO_NAME(XPCVariant)} #ifdef MOZ_JSLOADER // jsloader stuff - { "JS component loader", MOZJSCOMPONENTLOADER_CID, + ,{ "JS component loader", MOZJSCOMPONENTLOADER_CID, mozJSComponentLoaderContractID, mozJSComponentLoaderConstructor, - RegisterJSLoader, UnregisterJSLoader }, + RegisterJSLoader, UnregisterJSLoader } #ifndef NO_SUBSCRIPT_LOADER - { "JS subscript loader", MOZ_JSSUBSCRIPTLOADER_CID, - mozJSSubScriptLoadContractID, mozJSSubScriptLoaderConstructor }, + ,{ "JS subscript loader", MOZ_JSSUBSCRIPTLOADER_CID, + mozJSSubScriptLoadContractID, mozJSSubScriptLoaderConstructor } #endif #endif #ifdef XPC_IDISPATCH_SUPPORT - { nsnull, NS_IDISPATCH_SUPPORT_CID, NS_IDISPATCH_SUPPORT_CONTRACTID, + ,{ nsnull, NS_IDISPATCH_SUPPORT_CID, NS_IDISPATCH_SUPPORT_CONTRACTID, nsIDispatchSupportConstructor } #endif };