Skip to content
Snippets Groups Projects
Commit f925982e authored by alecf%netscape.com's avatar alecf%netscape.com
Browse files

remove references to stub nsIMessenger class

parent 1d449a24
No related branches found
No related tags found
No related merge requests found
......@@ -20,8 +20,6 @@
#include "nsMessengerNameSet.h"
#include "nsIMessenger.h"
#include "jsapi.h"
#include "nsIScriptContext.h"
#include "nsIScriptNameSpaceManager.h"
......@@ -61,14 +59,9 @@ nsMessengerNameSet::InitializeClasses(nsIScriptContext* aScriptContext)
/* initialize the AppCore */
NS_InitMsgAppCoreClass(aScriptContext, nsnull);
#ifdef XPIDL_JS_STUBS
nsIMessenger::InitJSClass(cx);
#endif
return rv;
}
static NS_DEFINE_CID(kCMessengerCID, NS_MESSENGER_CID);
static NS_DEFINE_CID(kCMsgAppCoreCID, NS_MSGAPPCORE_CID);
NS_IMETHODIMP
......@@ -79,11 +72,6 @@ nsMessengerNameSet::AddNameSet(nsIScriptContext *aScriptContext)
rv = aScriptContext->GetNameSpaceManager(&manager);
if (NS_SUCCEEDED(rv))
rv = manager->RegisterGlobalName("Messenger",
kCMessengerCID,
PR_TRUE);
/* register the appcore here too */
if (NS_SUCCEEDED(rv))
rv = manager->RegisterGlobalName("MsgAppCore",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment