Unify SMIL interval resolution
This removes the ResolveFirstInterval() function, in favor of just passing the appropriate arguments to ResolveInterval(). The |is_waiting_for_first_interval_| is cleared in the StartedActiveInterval() callback (when the first interval starts), and SVGSMILElement::CurrentIntervalIsActive() is simplified to only check if |next_interval_time_| has been reached. Because of this, the initial value of that member field is changed to Earliest(). Bug: 998526 Change-Id: I56103218fd210fbcd11076f20757b06319f5a054 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1848692Reviewed-by:Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#704526}
Showing
Please register or sign in to comment