aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils
diff options
context:
space:
mode:
authorGravatar fmalita <fmalita@chromium.org>2015-09-04 11:36:39 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-04 11:36:39 -0700
commitc3470340b6658dea7baa3ac90d3b716c0afd7051 (patch)
tree3b164197eade94b9bac1d2cc9df98a0dd98f156e /src/utils
parent19e9b35750e7c3752ea2e6d8a938de4a1dc874f0 (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 'src/utils')
0 files changed, 0 insertions, 0 deletions