Use clampTo<int> in SVGInteger::CalculateAnimatedValue
Matches what we do in SVGIntegerOptionalInteger::CalculateAnimatedValue, and avoids undefined overflow. Bug: 899445 Change-Id: I1250a05482713780f707301ed29e015fd81e65f2 Reviewed-on: https://chromium-review.googlesource.com/c/1304483Reviewed-by:Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#603548}
Showing
Please register or sign in to comment