DescriptionIn the case of subset decodes, we will often not decode to
the bottom of the image. In our code before this patch,
this would result in cleanup code in onFinish() never being
called.
We can allow subclasses to take ownership of the
SkScanlineDecoder in order to make sure that it is
finished/deleted before deleting the decode manager.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/c0e80c139e15496a8a96eec7848689b6f0e7bcc1
Patch Set 1 #
Total comments: 6
Patch Set 2 : Fixes and a test #
Total comments: 4
Patch Set 3 : Detachable SkScanlineDecoder #
Total comments: 4
Depends on Patchset: Messages
Total messages: 16 (3 generated)
|