commit | cc34176c040c9703e351af7268dfc3a8b3cbf71d | [log] [tgz] |
---|---|---|
author | fmalita <fmalita@chromium.org> | Wed Nov 02 13:10:51 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Nov 02 13:10:51 2016 -0700 |
tree | 70d4a66679c1d72d335c28771c0daa0b5784ebba | |
parent | e9215f0e243e46d7a49677b80946c17fbccb2535 [diff] |
Fix GradientShaderBase4fContext::Interval fuzzer assert Although the iterator ensures v0 != v1, 2 - v0 may still be equal to 2 - v1 for very small values due to limited float precision. We need to recheck the inequality to avoid triggering Interval asserts. BUG=skia:5903 R=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2474463002 Review-Url: https://codereview.chromium.org/2474463002