Chromium Code Reviews
Descriptionspinning-square.sky doesn't spin
The semantics of requestAnimationFrame and scheduleVisualUpdate are slightly
different. If you're inside a requestAnimationFrame, then calling
requestAnimationFrame should schedule you for next frame. However, if you're
inside a requestAnimationFrame and you scheduleVisualUpdate, that's a noop
because we've already got a visual update pending. When we merge the codepaths,
we broke requestAnimationFrame because it became a noop when called inside a
request animation frame.
We really ought to split up the two roles of requestAnimationFrame (run before
the frame boundary and run once per frame).
R=esprehn@chromium.org, eseidel@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/fca750382c8f1ef001eaeea39eaa461392b599a1
Patch Set 1 #Patch Set 2 : fix animations too #
Messages
Total messages: 5 (0 generated)
|
||||||||||||||||||||||||||||