mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-13 15:34:01 +00:00
remove references to stub nsIMessenger class
This commit is contained in:
parent
1d449a2481
commit
f925982e9d
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user