commit | 5809a4e2c3adfdacf32862dbed41042e270f9b81 | [log] [tgz] |
---|---|---|
author | Florin Malita <fmalita@chromium.org> | Fri Jan 04 14:55:35 2019 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Jan 04 20:41:27 2019 +0000 |
tree | b583ede91ced13fe064fbb0ff550e7c2fb3d487c | |
parent | 275eaff3be4b371983451f3e15c4d757e4c6c675 [diff] |
[skjson] NaN while parsing long decimals When parsing numbers with long decimals, the fast-path decimal factor may collapse to zero. Catch this condition (and defer to the slow parse path). Bug: skia:8499 Change-Id: I4e364402aecdcca9558d027a55ff297170e2a195 Reviewed-on: https://skia-review.googlesource.com/c/181179 Reviewed-by: Kevin Lubick <kjlubick@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org>