| commit | 14494262d39964ccd7f0fbac43f45ac2ea1eb224 | [log] [tgz] |
|---|---|---|
| author | Leon Scroggins III <scroggo@google.com> | Fri Oct 17 15:23:37 2014 -0400 |
| committer | Leon Scroggins <scroggo@google.com> | Fri Oct 17 21:15:51 2014 +0000 |
| tree | 721a35763cc2ac03dd4de3ab5b9869398f47084b | |
| parent | f23b29ad5a730c7b26d9f96c764dc4e0d96fdd16 [diff] |
Decoder only returns true on complete success. Recently we added a way for SkImageDecoder::decode to distinguish between successfully decoding the entire image and only partially decoding the image (see https://codereview.chromium.org/647023006). Only consider a call to decode() a success if the image was completely decoded. This matches pre-L behavior, and lets the caller know that they need to try to decode again. Requires a change to external/skia (I33e6940e247b74b20361ae041f8d36eb600df49f) BUG:17419670 Change-Id: I17ed7288b2359fafaec9551adb16d1d037800eb7