mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-02 12:32:55 +00:00
parent
3a47b79cc3
commit
75394f5e7f
@ -47,6 +47,9 @@ nsresult PlugletFactory::CreatePluginInstance(const char* aPluginMIMEType, void
|
||||
env->ExceptionDescribe();
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
if (!obj) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
nsISupports * instance = new Pluglet(obj);
|
||||
NS_ADDREF(instance);
|
||||
*aResult = instance;
|
||||
|
Loading…
x
Reference in New Issue
Block a user