DescriptionUpdate 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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274540
Patch Set 1 #Patch Set 2 : Fix tests #
Total comments: 2
Messages
Total messages: 11 (0 generated)
|