Split out additive behavior handling from AnimateAdditiveNumber
This removes the need of passing an out-parameter to the function. For calling code this means it's easy to separate the mutation of the object itself (the addition) from the rest of the computation. Move variable definitions around to move closer to their actual use. Bug: 1017723 Change-Id: Icca4d0cd3c0e421c8ba2c9867cdd60eabeac4c11 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2395716Reviewed-by:Philip Rogers <pdr@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#805258}
Showing
Please register or sign in to comment