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/+/1976410Reviewed-by:Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#726808}
Showing
Please register or sign in to comment