зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1462885 - Fix iteration in ImageBridgeParent::NotifyImageComposites() r=mattwoodrow
Iteration becomes wrong when ImageBridgeParent::GetInstance() fails in NotifyImageComposites(). Differential Revision: https://phabricator.services.mozilla.com/D18172 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
681aa6716a
Коммит
f9b03cbc21
|
@ -337,6 +337,7 @@ class ProcessIdComparator {
|
|||
}
|
||||
RefPtr<ImageBridgeParent> bridge = GetInstance(pid);
|
||||
if (!bridge || bridge->mClosed) {
|
||||
i = end;
|
||||
continue;
|
||||
}
|
||||
bridge->SendPendingAsyncMessages();
|
||||
|
|
Загрузка…
Ссылка в новой задаче