mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 813356: Skip subtrees with null roots during resolution. r=roc a=blocking-basecamp
This commit is contained in:
parent
3fae5f8a5d
commit
09dfcb2bb1
@ -480,7 +480,7 @@ private:
|
||||
{
|
||||
if (RefLayer* ref = aLayer->AsRefLayer()) {
|
||||
if (const LayerTreeState* state = GetIndirectShadowTree(ref->GetReferentId())) {
|
||||
Layer* referent = state->mRoot;
|
||||
if (Layer* referent = state->mRoot) {
|
||||
if (OP == Resolve) {
|
||||
ref->ConnectReferentLayer(referent);
|
||||
if (AsyncPanZoomController* apzc = state->mController) {
|
||||
@ -495,6 +495,7 @@ private:
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
for (Layer* child = aLayer->GetFirstChild();
|
||||
child; child = child->GetNextSibling()) {
|
||||
WalkTheTree<OP>(child, aLayer);
|
||||
|
Loading…
Reference in New Issue
Block a user