Chromium Code Reviews
DescriptionUse the Document AnimationClock in SMILTimeContainer
It's trivial to replace the local AnimationClock in SMILTimeContainer
with the one from Document after making the observation that the only
current manipulations (updateTime/unfreeze) are already performed by
PageAnimator (DocumentAnimations::updateAnimationTimingForAnimationFrame)
and RenderLayerCompositor (DocumentAnimations::startPendingAnimations).
With this change it become possible to push the DiscardScope into
updateAnimationsAndScheduleFrameIfNeeded - so do that to simplify the
code (by reducing the number of places that instantiate a DiscardScope.)
BUG=231576
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169761
Patch Set 1 #Patch Set 2 : Rebase. #
Messages
Total messages: 6 (0 generated)
|
||||||||||||||||||||||||||||