Fix filling of incomplete images in SkSampledCodec
authormsarett <msarett@google.com>
Fri, 16 Sep 2016 21:52:07 +0000 (14:52 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 16 Sep 2016 21:52:07 +0000 (14:52 -0700)
commitc6c81e1ff829633be63f3ca337359afadd87f7c4
tree12e2b5049b82d91943397d2d8930ce486712a3ec
parentf59d18a4ea5ad56975502faf50eae43418ea9c2a
Fix filling of incomplete images in SkSampledCodec

The bug occurs when filling after an incomplete sampled/subset
incremental decode.

I'm also adding many truncated test pngs.

BUG=skia:5769
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2343153003

Review-Url: https://codereview.chromium.org/2343153003
infra/bots/assets/skimage/VERSION
src/codec/SkSampledCodec.cpp