mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1121713 - [e10s] CompositorParent should clear itself out of LayerTreeState when destroyed (r=nical)
This commit is contained in:
parent
ee8071c5fb
commit
0c3c75cea4
@ -481,6 +481,7 @@ CompositorParent::RecvWillStop()
|
||||
if (lts->mParent == this) {
|
||||
mLayerManager->ClearCachedResources(lts->mRoot);
|
||||
lts->mLayerManager = nullptr;
|
||||
lts->mParent = nullptr;
|
||||
}
|
||||
}
|
||||
mLayerManager->Destroy();
|
||||
@ -1709,7 +1710,9 @@ CrossProcessCompositorParent::ForceComposite(LayerTransactionParent* aLayerTree)
|
||||
MonitorAutoLock lock(*sIndirectLayerTreesLock);
|
||||
parent = sIndirectLayerTrees[id].mParent;
|
||||
}
|
||||
parent->ForceComposite(aLayerTree);
|
||||
if (parent) {
|
||||
parent->ForceComposite(aLayerTree);
|
||||
}
|
||||
}
|
||||
|
||||
bool
|
||||
|
Loading…
Reference in New Issue
Block a user