Update source frame number even when commits abort
If a commit aborts, then PictureLayer::update_source_frame_number_ will be stale since only a finished commit would update the LTH::source_frame_number_. This could lead to an issue where a commit aborts and then on the next frame a layer's size is updated *and* it is set to not draw. This causes it to skip being updated (meaning the pile size is not updated) but the layer bounds have changed and trips an assert in PushPropertiesTo that tries to make sure that the pile and layer bounds are the same when a layer has been updated that frame. The fix here is to update the source frame number even for aborted commits. This causes the PushPropertiesTo assert to properly be ignored. BUG=375675 Review URL: https://codereview.chromium.org/307653005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274540 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment