For certain input skpdiff segfaulted. This prevents the segfault and should fix the...
authorstephana <stephana@google.com>
Fri, 5 Sep 2014 20:21:42 +0000 (13:21 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 5 Sep 2014 20:21:42 +0000 (13:21 -0700)
commit7260d7292bde966f038b8e166f3fe41ddd8f2099
tree3d9b99787563075762d70a6a22db9a9989dcbcfa
parent52e9d63f7110ac691609660342cdab32082a4235
For certain input skpdiff segfaulted. This prevents the segfault and should fix the failed test in housekeeping.

BUG=skia:2902
R=mtklein@google.com, rmistry@google.com

Author: stephana@google.com

Review URL: https://codereview.chromium.org/546753003
gm/rebaseline_server/testdata/outputs/expected/compare_rendered_pictures_test.CompareRenderedPicturesTest.test_endToEnd/compare_rendered_pictures.json
gm/rebaseline_server/testdata/outputs/expected/compare_rendered_pictures_test.CompareRenderedPicturesTest.test_endToEnd_withImageBaseGSUrl/compare_rendered_pictures.json
tools/skpdiff/SkDiffContext.cpp
tools/tests/render_pictures_test.py