Merge SVGSMILElement progress update functions (again)
After having been separated for a bit, CalculateAnimationRepeat(...) and its companion CalculateAnimationPercent(...) can now be merged again. While doing this, eliminate the float epsilon tricks in favor of integer epsilon tricks (and attempt to comment on what is being done). Bug: 998526 Change-Id: Id1d7367672f46886e466b42e49be8dd968fbd1cf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1833587 Commit-Queue: Fredrik Söderquist <fs@opera.com> Reviewed-by:Stephen Chenney <schenney@chromium.org> Cr-Commit-Position: refs/heads/master@{#701716}
Showing
Please register or sign in to comment