Index: src/images/SkImageDecoder_libjpeg.cpp |
diff --git a/src/images/SkImageDecoder_libjpeg.cpp b/src/images/SkImageDecoder_libjpeg.cpp |
index 18e71fad3bb536249d73f2db85532265925ff0eb..e6bc8827cd05d0f894ec48a70882e2a5d30ce81f 100644 |
--- a/src/images/SkImageDecoder_libjpeg.cpp |
+++ b/src/images/SkImageDecoder_libjpeg.cpp |
@@ -724,7 +724,7 @@ SkImageDecoder::Result SkJPEGImageDecoder::onDecode(SkStream* stream, SkBitmap* |
fill_below_level(y, bm); |
cinfo.output_scanline = cinfo.output_height; |
jpeg_finish_decompress(&cinfo); |
- return kSuccess; |
+ return kPartialSuccess; |
} |
if (this->shouldCancelDecode()) { |
return return_failure(cinfo, *bm, "shouldCancelDecode"); |