diff --git a/dom/plugins/PluginScriptableObjectParent.cpp b/dom/plugins/PluginScriptableObjectParent.cpp index 56ca104cb5e..454185c5fdb 100644 --- a/dom/plugins/PluginScriptableObjectParent.cpp +++ b/dom/plugins/PluginScriptableObjectParent.cpp @@ -1129,7 +1129,6 @@ PluginScriptableObjectParent::AnswerSetProperty(const NPRemoteIdentifier& aId, PluginInstanceParent* instance = GetInstance(); if (!instance) { NS_ERROR("No instance?!"); - *aResult = void_t(); *aSuccess = false; return true; } @@ -1137,14 +1136,12 @@ PluginScriptableObjectParent::AnswerSetProperty(const NPRemoteIdentifier& aId, const NPNetscapeFuncs* npn = GetNetscapeFuncs(instance); if (!npn) { NS_ERROR("No netscape funcs?!"); - *aResult = void_t(); *aSuccess = false; return true; } if (!EnsureValidIdentifier(instance, (NPIdentifier)aId)) { NS_WARNING("Invalid NPIdentifier!"); - *aResult = void_t(); *aSuccess = false; return true; } @@ -1177,7 +1174,6 @@ PluginScriptableObjectParent::AnswerRemoveProperty(const NPRemoteIdentifier& aId PluginInstanceParent* instance = GetInstance(); if (!instance) { NS_ERROR("No instance?!"); - *aResult = void_t(); *aSuccess = false; return true; } @@ -1185,7 +1181,6 @@ PluginScriptableObjectParent::AnswerRemoveProperty(const NPRemoteIdentifier& aId const NPNetscapeFuncs* npn = GetNetscapeFuncs(instance); if (!npn) { NS_ERROR("No netscape funcs?!"); - *aResult = void_t(); *aSuccess = false; return true; } @@ -1216,7 +1211,6 @@ PluginScriptableObjectParent::AnswerEnumerate(nsTArray* aPro PluginInstanceParent* instance = GetInstance(); if (!instance) { NS_ERROR("No instance?!"); - *aResult = void_t(); *aSuccess = false; return true; }