aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/SkColor4fTest.cpp
diff options
context:
space:
mode:
authorGravatar scroggo <scroggo@google.com>2016-02-19 12:08:41 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-19 12:08:41 -0800
commit950fb1ca24cca9803eb29dc6aa5472b0f506a67f (patch)
treeddb63ced455fdef6698e7ac78223d209f8a27e15 /tests/SkColor4fTest.cpp
parent27e88d0dab8d9fe66b572004972b01adc62a8063 (diff)
Insert an empty image when we cannot decode
In SKP deserialization, if there is a 0 byte encoded image, we insert an empty image into the output SkPicture so that we can continue deserializing. Do the same when our decoder cannot decode it. This may be the result of a bug in our decoder, or in the stream serialization. But it should not mean the entire stream is invalid. BUG=skia:4691 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1715853002 Review URL: https://codereview.chromium.org/1715853002
Diffstat (limited to 'tests/SkColor4fTest.cpp')
0 files changed, 0 insertions, 0 deletions