remove references to stub nsIMessenger class
git-svn-id: svn://10.0.0.236/trunk@29214 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user