Clean up SVGAnimationElement::CheckAnimationParameters
Primarily to cast the condition for validating 'values' animations into a slightly more readable form. Also take this opportunity to change certain conditions so that one can see where they are the same - for instance by swapping left and right sides of comparisons, adding extra nesting or negating/applying De-Morgan. Also make To/From/ByValue() private. Bug: 998526 Change-Id: Ia902ad76dad37d0c0cda3de1283583bb4e4c4afc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1868999 Commit-Queue: Fredrik Söderquist <fs@opera.com> Reviewed-by:Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#707860}
Showing
Please register or sign in to comment