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

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

Merge "Fix damage bug" into lmp-mr1-dev

parents f6e29739 5c9d717d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -296,6 +296,9 @@ void RenderNode::pushStagingDisplayListChanges(TreeInfo& info) {
                mStagingDisplayListData->children()[i]->mRenderNode->incParentRefCount();
            }
        }
        // Damage with the old display list first then the new one to catch any
        // changes in isRenderable or, in the future, bounds
        damageSelf(info);
        deleteDisplayListData();
        mDisplayListData = mStagingDisplayListData;
        mStagingDisplayListData = NULL;