commit | c3470340b6658dea7baa3ac90d3b716c0afd7051 | [log] [tgz] |
---|---|---|
author | fmalita <fmalita@chromium.org> | Fri Sep 04 11:36:39 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri Sep 04 11:36:39 2015 -0700 |
tree | 3b164197eade94b9bac1d2cc9df98a0dd98f156e | |
parent | 19e9b35750e7c3752ea2e6d8a938de4a1dc874f0 [diff] |
Handle zero-length encoded images gracefully during deserialization Image encoding may fail during serialization, resulting in zero-length encoded data in the SKP. Instead of invalidating the stream (and preventing deserialization of the whole picture) we can instantiate placeholder images. BUG=skia:4285 R=reed@google.com,robertphillips@google.com Review URL: https://codereview.chromium.org/1308273011