Bug 1416614 - Add checks to ImageBridgeParent::NotifyImageComposites r=nical

This commit is contained in:
sotaro 2017-11-15 09:08:18 +09:00
parent 52e98f4308
commit a15823ac76

View File

@ -389,6 +389,9 @@ ImageBridgeParent::NotifyImageComposites(nsTArray<ImageCompositeNotificationInfo
++end;
}
RefPtr<ImageBridgeParent> bridge = GetInstance(pid);
if (!bridge || bridge->mClosed) {
continue;
}
bridge->SendPendingAsyncMessages();
if (!bridge->SendDidComposite(notifications)) {
ok = false;