diff options
author | fmalita <fmalita@chromium.org> | 2015-09-04 11:36:39 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-04 11:36:39 -0700 |
commit | c3470340b6658dea7baa3ac90d3b716c0afd7051 (patch) | |
tree | 3b164197eade94b9bac1d2cc9df98a0dd98f156e /gm/pathfill.cpp | |
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
Diffstat (limited to 'gm/pathfill.cpp')
0 files changed, 0 insertions, 0 deletions