| Index: dm/DMSrcSink.cpp
|
| diff --git a/dm/DMSrcSink.cpp b/dm/DMSrcSink.cpp
|
| index 2060ce2d6833561fdece352aca6cf95d1fe8f2b6..d99f0115b3ad108bbc368361303d0daa9babfefb 100644
|
| --- a/dm/DMSrcSink.cpp
|
| +++ b/dm/DMSrcSink.cpp
|
| @@ -92,7 +92,7 @@ Error ImageSrc::draw(SkCanvas* canvas) const {
|
| stream->rewind();
|
| int w,h;
|
| if (!decoder->buildTileIndex(stream.detach(), &w, &h) || w*h == 1) {
|
| - return ""; // Not an error. Subset decoding is not always supported.
|
| + return Error::Nonfatal("Subset decoding not supported.");
|
| }
|
|
|
| // Divide the image into subsets that cover the entire image.
|
|
|