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

Commit c54a20d9 authored by John Reck's avatar John Reck Committed by Android Git Automerger
Browse files

am a2590d59: am 733bb3bc: Merge "Fix memory corruption in test" into lmp-mr1-dev automerge: a91c5ca7

* commit 'a2590d59':
  Fix memory corruption in test
parents 96656523 a2590d59
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);