commit | e6cad6b370d781c0e8345b5be74b83c2c328074c | [log] [tgz] |
---|---|---|
author | scroggo <scroggo@chromium.org> | Mon May 09 13:20:58 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon May 09 13:20:58 2016 -0700 |
tree | 833291cf912bb11fc5ff516cebf1da77f1737fb1 | |
parent | 97fd2d42b97104fa32a58d7e7a5b7255913f9c9d [diff] |
Stop valgrind bot from crashing make_surface is returning nullptr, resulting in an invalid read. Add an error message with debugging information and skip this iteration. Also switch to cleaner for loop syntax. BUG=skia:5282 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1959173002 Review-Url: https://codereview.chromium.org/1959173002