Index: src/codec/SkBmpMaskCodec.cpp |
diff --git a/src/codec/SkBmpMaskCodec.cpp b/src/codec/SkBmpMaskCodec.cpp |
index 7d2d398bb475ebc4dcb57e1aecb1b0e9c46a0721..5b28252f7c1d7a2a8e8b4f4ab61b959c904a2216 100644 |
--- a/src/codec/SkBmpMaskCodec.cpp |
+++ b/src/codec/SkBmpMaskCodec.cpp |
@@ -39,7 +39,7 @@ SkCodec::Result SkBmpMaskCodec::onGetPixels(const SkImageInfo& dstInfo, |
return kInvalidScale; |
} |
- if (!conversion_possible(dstInfo, this->getInfo())) { |
+ if (!conversion_possible_ignore_color_space(dstInfo, this->getInfo())) { |
SkCodecPrintf("Error: cannot convert input type to output type.\n"); |
return kInvalidConversion; |
} |