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 d03e297868
commit 0d7ae8387b

View File

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