Fix damage bug

Bug: 18087374
Change-Id: Ie183392122c73f93010fb3f4be071c924b352966
This commit is contained in:
John Reck
2014-10-22 11:32:27 -07:00
parent 9b67a1a232
commit 5c9d717d3e

View File

@@ -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;