Index: src/codec/SkBmpRLECodec.cpp |
diff --git a/src/codec/SkBmpRLECodec.cpp b/src/codec/SkBmpRLECodec.cpp |
index 02b42f6d90ce086496c6a15dbba8d1bd4cd31c9d..252d63e3521b4d3bf937401b92764757d79025cb 100644 |
--- a/src/codec/SkBmpRLECodec.cpp |
+++ b/src/codec/SkBmpRLECodec.cpp |
@@ -44,7 +44,7 @@ SkCodec::Result SkBmpRLECodec::onGetPixels(const SkImageInfo& dstInfo, |
// Subsets are not supported. |
return kUnimplemented; |
} |
- 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; |
} |