mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-01 12:03:08 +00:00
Fix case where we return an NPError value as an nsresult in PluginModuleParent. b=564917 r=cjones
This commit is contained in:
parent
fbb0399a48
commit
09cb15005c
@ -737,7 +737,7 @@ PluginModuleParent::NPP_New(NPMIMEType pluginType, NPP instance,
|
||||
|
||||
if (*error != NPERR_NO_ERROR) {
|
||||
NPP_Destroy(instance, 0);
|
||||
return *error;
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user