Bug 1217307 - Remove some unnecessary null checks in rest of dom/. r=njn

This commit is contained in:
Birunthan Mohanathas
2015-11-19 09:13:49 +02:00
parent 87edb9df5e
commit e95885610b
20 changed files with 5 additions and 68 deletions

View File

@@ -1533,11 +1533,6 @@ PluginInstanceParent::GetActorForNPObject(NPObject* aObject)
}
actor = new PluginScriptableObjectParent(LocalObject);
if (!actor) {
NS_ERROR("Out of memory!");
return nullptr;
}
if (!SendPPluginScriptableObjectConstructor(actor)) {
NS_WARNING("Failed to send constructor message!");
return nullptr;