Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a415118 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix error in RenderNode unit test with Skia pipeline"

parents 82a67cad 25912c78
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -363,11 +363,18 @@ private:
        }
        auto displayList = node->getDisplayList();
        if (displayList) {
            if (displayList->isSkiaDL()) {
                for (auto&& childDr : static_cast<skiapipeline::SkiaDisplayList*>(
                        const_cast<DisplayList*>(displayList))->mChildNodes) {
                    syncHierarchyPropertiesAndDisplayListImpl(childDr.getRenderNode());
                }
            } else {
                for (auto&& childOp : displayList->getChildren()) {
                    syncHierarchyPropertiesAndDisplayListImpl(childOp->renderNode);
                }
            }
        }
    }

}; // class TestUtils