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

Commit a2590d59 authored by John Reck's avatar John Reck Committed by android-build-merger
Browse files

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

automerge: a91c5ca7

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