DescriptionHoist target element null-checks out of SVGAnimateElement::calculate*
The calculateFromAndToValues, calculateFromAndByValues and
calculateDistance share a common entrypoint (startedActiveInterval), so
we can tighten this code-path a bit checking for a target element up
front. (No target element makes for pretty useless animations anyway...)
calculateAnimatedValue gets similar treatment in its updateAnimation
(sole) entrypoint.
Also refill comments to 80 columns in SVGAnimateMotionElement.cpp.
BUG=641437
Committed: https://crrev.com/19f7c54a725c49bbc2bc683d1069c2217f302cb9
Cr-Commit-Position: refs/heads/master@{#422484}
Patch Set 1 #
Created: 4 years, 2 months ago
Depends on Patchset: Messages
Total messages: 13 (8 generated)
|