Bug 833606: Null check mProxy in mozilla::dom::ContentPermissionRequestParent::ActorDestroy(). r=bent a=blocking-b2g

This commit is contained in:
Cervantes Yu 2013-01-23 21:42:09 -08:00
parent 3f75a04668
commit 70cd7f74f9

View File

@ -154,7 +154,9 @@ ContentPermissionRequestParent::Recvprompt()
void
ContentPermissionRequestParent::ActorDestroy(ActorDestroyReason why)
{
mProxy->OnParentDestroyed();
if (mProxy) {
mProxy->OnParentDestroyed();
}
}
} // namespace dom