DescriptionSimplify SVGAnimatedTypeAnimator interface
The two methods startAnimValAnimation and resetAnimValToBaseVal share
the same implementation, but are called in two different branches of the
same if-statement. Fold the two and add a new method
createAnimatedValue() to provide the animated value, to make this appear
as straight-forward as it is. Also fold the stopAnimValAnimation()
method since it's only used once, and because this makes the start/stop
action somewhat symmetric.
Rename the constructFromString(...) method to
createAnimatedValueFromString() to illustrate its relation to the newly
minted method and make it a bit more clear what it does.
BUG=640676
Committed: https://crrev.com/2e7202542f73e6a411d0c1808e2112a150254e3b
Cr-Commit-Position: refs/heads/master@{#415271}
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 15 (9 generated)
|