Flush pending SMIL synchronizations on frame callbacks
Previously a synchronization could be pending when we got a frame callback, meaning that the animations would not be updated after the frame callback had run, but still require the synchronization timer to fire. Instead flush any pending synchronizations if we get a frame callback before the synchronization timer fires. This gives stronger guarantees about when to expect animation values to be updated. This could address the flakiness observed in the referenced bug. Bug: 1099657 Change-Id: Ieb90a4cd2b5bb5a3b3d1f0a0d86383f08ce0d3fa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2292309Reviewed-by:Philip Rogers <pdr@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#787819}
Showing
Please register or sign in to comment