commit | c0e80c139e15496a8a96eec7848689b6f0e7bcc1 | [log] [tgz] |
---|---|---|
author | msarett <msarett@google.com> | Wed Jul 01 06:50:35 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Jul 01 06:50:35 2015 -0700 |
tree | 6c3fbc2df1ec557f196c4a0dde6a28989f95a43e | |
parent | f06c389f0fe07ce06acd8568d508d6413b8d3728 [diff] |
In 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: Review URL: https://codereview.chromium.org/1212593003