DescriptionEnsure serviceOnNextFrame isn't put off indefinitely.
A constant series of compositor updates would force the serviceOnNextFrame
to be kept being put off. The wakeAfter was always called with a fixed
duration so it would just keep getting cancelled and rescheduled.
Since the serviceOnNextFrame ends up calling setNeedsLayout inside the
scheduleAnimation callback; the LayoutTree would get updated in that call.
The hit testing problem identified in the bug was related to the fact that
the LayoutTree's layer transforms weren't updated correctly until it was
told it needed to do a Layout.
The fix is to check the remaining duration vs the new scheduled duration
and avoid the schedule if the new duration is longer.
BUG=513833
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200737
Patch Set 1 #
Total comments: 4
Patch Set 2 : Simplify code #Patch Set 3 : Adjust layout test #
Messages
Total messages: 15 (5 generated)
|