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

Commit 733bb3bc authored by John Reck's avatar John Reck Committed by Android (Google) Code Review
Browse files

Merge "Fix memory corruption in test" into lmp-mr1-dev

parents 3961d2af af608319
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -76,6 +76,7 @@ int main(int argc, char* argv[]) {
    sp<Surface> surface = control->getSurface();

    RenderNode* rootNode = new RenderNode();
    rootNode->incStrong(0);
    rootNode->mutateStagingProperties().setLeftTopRightBottom(0, 0, width, height);
    rootNode->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y);
    rootNode->mutateStagingProperties().setClipToBounds(false);