mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1154614 - Don't try to pick up the same non-reentrant lock twice. r=dvander a=RyanVM
This commit is contained in:
parent
afcdc42527
commit
83204f224f
@ -2042,16 +2042,13 @@ CrossProcessCompositorParent::SetConfirmedTargetAPZC(const LayerTransactionParen
|
||||
{
|
||||
uint64_t id = aLayerTree->GetId();
|
||||
MOZ_ASSERT(id != 0);
|
||||
CompositorParent* parent = nullptr;
|
||||
{
|
||||
MonitorAutoLock lock(*sIndirectLayerTreesLock);
|
||||
const CompositorParent::LayerTreeState* state = CompositorParent::GetIndirectShadowTree(id);
|
||||
if (!state || !state->mParent) {
|
||||
return;
|
||||
}
|
||||
parent = state->mParent;
|
||||
const CompositorParent::LayerTreeState* state = CompositorParent::GetIndirectShadowTree(id);
|
||||
if (!state) {
|
||||
return;
|
||||
}
|
||||
parent->SetConfirmedTargetAPZC(aLayerTree, aInputBlockId, aTargets);
|
||||
|
||||
MOZ_ASSERT(state->mParent);
|
||||
state->mParent->SetConfirmedTargetAPZC(aLayerTree, aInputBlockId, aTargets);
|
||||
}
|
||||
|
||||
AsyncCompositionManager*
|
||||
|
Loading…
Reference in New Issue
Block a user