Move the update of the active state for SMIL out of UpdateTiming
This moves the call to SVGSMILElement::UpdateActiveState() from SMILAnimationSandwich's UpdateTiming() method to UpdateSyncBases() and renames the latter UpdateActiveStateAndOrder(). The reset of the |interval_has_changed_| flag is moved to UpdateActiveState(), and SVGSMILElement::UpdateSyncBases() is decommissioned. This exposed that SVGSMILElement::UpdateInterval(...) could end up clobbering |previous_interval_| when re-resolving the current interval. Bug: 998526 Change-Id: I0b3787f93898b062a3a1e790bf761402c0515156 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1834351 Commit-Queue: Fredrik Söderquist <fs@opera.com> Reviewed-by:Stephen Chenney <schenney@chromium.org> Cr-Commit-Position: refs/heads/master@{#702353}
Showing
Please register or sign in to comment