mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-26 00:17:47 -10:00
Bug 1201239 - Add a proper null check in PluginAsyncSurrogate::NotifyAsyncInitFailed; r=jimm
This commit is contained in:
1 parent
c7011cf892
commit
bbdf8753b6
1 file changed
+3
-2
@@ -575,8 +575,9 @@ PluginAsyncSurrogate::NotifyAsyncInitFailed()
|
||||
return;
|
||||
}
|
||||
nsPluginInstanceOwner* owner = inst->GetOwner();
|
||||
MOZ_ASSERT(owner);
|
||||
owner->NotifyHostAsyncInitFailed();
|
||||
if (owner) {
|
||||
owner->NotifyHostAsyncInitFailed();
|
||||
}
|
||||
}
|
||||
|
||||
// static
|
||||
|
||||
Reference in new issue
Block a user