DescriptionTweaks and fixes to the SMILTimeContainer frame scheduling logic
Restore the old frame delay as |initialFrameDelay| and use that in
begin(). (There's a 15ms difference from DocumentTimeline::s_minimumDelay,
in case that matters to some layout test.)
Use a separate state (FutureAnimationFrame) for the cases where an
animation frame is requested later than the next frame interval. This
avoids unnecessary work in the frame callback (which is gated on the
state being AnimationFrame).
Fix an issue where an animation frame could end up being scheduled,
although a synchronization had been triggered already (via
updateAnimations() and a syncbase dependency for instance). Similarly also
avoid increasing the timer in begin() for similar cases.
BUG=231576
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169259
Patch Set 1 #Patch Set 2 : FROM_HERE. #Patch Set 3 : Rebase. #
Messages
Total messages: 11 (0 generated)
|