Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
This commit is contained in:
@@ -249,7 +249,7 @@ nsNPAPIPlugin::PluginCrashed(const nsAString& pluginDumpID,
|
||||
bool
|
||||
nsNPAPIPlugin::RunPluginOOP(const nsPluginTag *aPluginTag)
|
||||
{
|
||||
if (XRE_IsContentProcess()) {
|
||||
if (XRE_GetProcessType() == GeckoProcessType_Content) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -404,7 +404,7 @@ GetNewPluginLibrary(nsPluginTag *aPluginTag)
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
if (XRE_IsContentProcess()) {
|
||||
if (XRE_GetProcessType() == GeckoProcessType_Content) {
|
||||
return PluginModuleContentParent::LoadModule(aPluginTag->mId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user