mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-25 01:01:52 +00:00
remove some debugging statements
This commit is contained in:
parent
7aec829ec9
commit
6323b72687
@ -57,7 +57,6 @@ nsMessengerNameSet::InitializeClasses(nsIScriptContext* aScriptContext)
|
||||
nsresult rv = NS_OK;
|
||||
JSContext *cx = (JSContext*)aScriptContext->GetNativeContext();
|
||||
|
||||
printf("nsMessengerNameSet::InitializeClasses() Initializing base classes\n");
|
||||
|
||||
/* initialize the AppCore */
|
||||
NS_InitMsgAppCoreClass(aScriptContext, nsnull);
|
||||
@ -78,12 +77,10 @@ nsMessengerNameSet::AddNameSet(nsIScriptContext *aScriptContext)
|
||||
nsresult rv = NS_OK;
|
||||
nsIScriptNameSpaceManager *manager;
|
||||
|
||||
printf("nsMessengerNameSet::AddNameSet() Registering Messenger in the JS namespace\n");
|
||||
rv = aScriptContext->GetNameSpaceManager(&manager);
|
||||
|
||||
if (NS_SUCCEEDED(rv))
|
||||
rv = manager->RegisterGlobalName("Messenger",
|
||||
// put the CID here, not IID
|
||||
kCMessengerCID,
|
||||
PR_TRUE);
|
||||
|
||||
|
@ -57,8 +57,6 @@ nsComposerNameSet::InitializeClasses(nsIScriptContext* aScriptContext)
|
||||
nsresult rv = NS_OK;
|
||||
JSContext *cx = (JSContext*)aScriptContext->GetNativeContext();
|
||||
|
||||
printf("nsComposerNameSet::InitializeClasses() Initializing base classes\n");
|
||||
|
||||
/* initialize the AppCore */
|
||||
NS_InitComposeAppCoreClass(aScriptContext, nsnull);
|
||||
|
||||
@ -78,12 +76,10 @@ nsComposerNameSet::AddNameSet(nsIScriptContext *aScriptContext)
|
||||
nsresult rv = NS_OK;
|
||||
nsIScriptNameSpaceManager *manager;
|
||||
|
||||
printf("nsComposerNameSet::AddNameSet() Registering Composer in the JS namespace\n");
|
||||
rv = aScriptContext->GetNameSpaceManager(&manager);
|
||||
|
||||
if (NS_SUCCEEDED(rv))
|
||||
rv = manager->RegisterGlobalName("Composer",
|
||||
// put the CID here, not IID
|
||||
kCComposerCID,
|
||||
PR_TRUE);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user