commit | 0ca7a88e64500df906b6c24e99a81c40848725a2 | [log] [tgz] |
---|---|---|
author | Florin Malita <fmalita@chromium.org> | Mon May 07 10:02:13 2018 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon May 07 15:19:39 2018 +0000 |
tree | 6438f51c8ab1e465a4c98c6811ad6ad99f4d3ac2 | |
parent | c3b0822d50e48439febebe176b092295c8f61621 [diff] |
[skottie] More defensive array indexing Rapidjson's array [] operator asserts the index is valid (instead of returning a null value when out-of-range) -> we must check. Bug: skia:7918 Change-Id: Ice4a6e6670a824da0d423da4a6f92414cd0dc252 Reviewed-on: https://skia-review.googlesource.com/126441 Reviewed-by: Kevin Lubick <kjlubick@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org>