mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Create MRJConsole even in 4.X build.
This commit is contained in:
parent
0de56942fa
commit
e39ae93606
@ -276,13 +276,11 @@ NS_METHOD MRJPlugin::Initialize()
|
||||
mThreadManager->GetCurrentThread(&mPluginThreadID);
|
||||
}
|
||||
|
||||
#ifndef MRJPLUGIN_4X
|
||||
// create a console, only if there's user interface for it.
|
||||
if (thePluginManager2 != NULL) {
|
||||
mConsole = new MRJConsole(this);
|
||||
mConsole->AddRef();
|
||||
}
|
||||
#endif
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user