* commit 'ebcfd24b8f1fc8e000a08c0bbce3a4215083ae8a': Fix damage bug
This commit is contained in:
@@ -296,6 +296,9 @@ void RenderNode::pushStagingDisplayListChanges(TreeInfo& info) {
|
|||||||
mStagingDisplayListData->children()[i]->mRenderNode->incParentRefCount();
|
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();
|
deleteDisplayListData();
|
||||||
mDisplayListData = mStagingDisplayListData;
|
mDisplayListData = mStagingDisplayListData;
|
||||||
mStagingDisplayListData = NULL;
|
mStagingDisplayListData = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user