mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Bug 1201239 - Add a proper null check in PluginAsyncSurrogate::NotifyAsyncInitFailed; r=jimm
--HG-- extra : source : e9159912a5b372b90ddd42e19bcf1c7801c5932f extra : amend_source : 02218c1f824ea56eec53ad73eb72a9d983690aec
This commit is contained in:
parent
eefc337d5d
commit
d8d13ca856
@ -575,8 +575,9 @@ PluginAsyncSurrogate::NotifyAsyncInitFailed()
|
||||
return;
|
||||
}
|
||||
nsPluginInstanceOwner* owner = inst->GetOwner();
|
||||
MOZ_ASSERT(owner);
|
||||
owner->NotifyHostAsyncInitFailed();
|
||||
if (owner) {
|
||||
owner->NotifyHostAsyncInitFailed();
|
||||
}
|
||||
}
|
||||
|
||||
// static
|
||||
|
Loading…
Reference in New Issue
Block a user