Bug 1201239 - Add a proper null check in PluginAsyncSurrogate::NotifyAsyncInitFailed; r=jimm
This commit is contained in:
@@ -575,8 +575,9 @@ PluginAsyncSurrogate::NotifyAsyncInitFailed()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
nsPluginInstanceOwner* owner = inst->GetOwner();
|
nsPluginInstanceOwner* owner = inst->GetOwner();
|
||||||
MOZ_ASSERT(owner);
|
if (owner) {
|
||||||
owner->NotifyHostAsyncInitFailed();
|
owner->NotifyHostAsyncInitFailed();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// static
|
// static
|
||||||
|
|||||||
Reference in New Issue
Block a user