Index: src/codec/SkRawCodec.cpp |
diff --git a/src/codec/SkRawCodec.cpp b/src/codec/SkRawCodec.cpp |
index 37d2d358aead77c5ea08e6951ddbc8644707252d..2a6a48fdbbd94ea197905b9ea14f44ccb8b19c3a 100644 |
--- a/src/codec/SkRawCodec.cpp |
+++ b/src/codec/SkRawCodec.cpp |
@@ -683,7 +683,7 @@ SkCodec::Result SkRawCodec::onGetPixels(const SkImageInfo& requestedInfo, void* |
size_t dstRowBytes, const Options& options, |
SkPMColor ctable[], int* ctableCount, |
int* rowsDecoded) { |
- if (!conversion_possible(requestedInfo, this->getInfo())) { |
+ if (!conversion_possible_ignore_color_space(requestedInfo, this->getInfo())) { |
SkCodecPrintf("Error: cannot convert input type to output type.\n"); |
return kInvalidConversion; |
} |