Ensure SMILTime::From{Microseconds,SecondsD} always return finite values
Clamp the result to the [Min(), Latest()] range. Remove the IsFinite() checks from SVGSMILElement::ParseOffsetValue() and SVGSMILElement::ParseClockValue() since they will no longer trigger. Bug: 1012665 Change-Id: I7183888fe1a0a2dd598fb42c152dee94d216d66c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1852924Reviewed-by:Philip Rogers <pdr@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#704840}
Showing
Please register or sign in to comment