mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 970747 - 4/6 - Make LayerTransactionParent::RecvUpdate error out if RemoveChild fails - r=mattwoodrow
This commit is contained in:
parent
2ad50f33a8
commit
409c751152
@ -441,10 +441,11 @@ LayerTransactionParent::RecvUpdate(const InfallibleTArray<Edit>& cset,
|
||||
return false;
|
||||
}
|
||||
ContainerLayerComposite* container = ShadowContainer(orc)->AsContainerLayerComposite();
|
||||
if (!container) {
|
||||
if (!container ||
|
||||
!container->RemoveChild(childLayer))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
container->RemoveChild(childLayer);
|
||||
break;
|
||||
}
|
||||
case Edit::TOpRepositionChild: {
|
||||
|
Loading…
Reference in New Issue
Block a user