DescriptionInsert 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
Committed: https://skia.googlesource.com/skia/+/950fb1ca24cca9803eb29dc6aa5472b0f506a67f
Patch Set 1 #
Messages
Total messages: 8 (4 generated)
|