commit | 950fb1ca24cca9803eb29dc6aa5472b0f506a67f | [log] [tgz] |
---|---|---|
author | scroggo <scroggo@google.com> | Fri Feb 19 12:08:41 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Fri Feb 19 12:08:41 2016 -0800 |
tree | ddb63ced455fdef6698e7ac78223d209f8a27e15 | |
parent | 27e88d0dab8d9fe66b572004972b01adc62a8063 [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