Revert "Simplify SVGImage::ResetAnimation"
This reverts commit bcff0792. Reason for revert: Speculative revert due to svg/as-image/animated-svg-wrong-timesource.html failure. See https://ci.chromium.org/p/chromium/builders/ci/WebKit%20Linux%20Leak/8508 for first failure. Original change's description: > Simplify SVGImage::ResetAnimation > > Now that SVGSVGElement::setCurrentTime(...) (or more specifically > SMILTimeContainer::SetElapsed) no longer trigger further updates when > the time container is paused, we can remove the "pending timeline > rewind" workaround. > When doing this also take the opportunity to fold CanScheduleFrame(...) > in SMILTimeContainer into its only caller and simplify a little bit. > > Bug: 998526 > Change-Id: I9ff3de1e8c4b28284bbf3ed27d128206ea7ee857 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1976410 > Reviewed-by: Stephen Chenney <schenney@chromium.org> > Commit-Queue: Fredrik Söderquist <fs@opera.com> > Cr-Commit-Position: refs/heads/master@{#726808} TBR=pdr@chromium.org,fs@opera.com,schenney@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 998526 Change-Id: Ia0e5739e3a33d2e3c875d2f600b5f2e035701294 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1980902Reviewed-by:Fabrice de Gans-Riberi <fdegans@chromium.org> Commit-Queue: Fabrice de Gans-Riberi <fdegans@chromium.org> Cr-Commit-Position: refs/heads/master@{#727236}
Showing
Please register or sign in to comment