Index: src/codec/SkBmpCodec.cpp |
diff --git a/src/codec/SkBmpCodec.cpp b/src/codec/SkBmpCodec.cpp |
index 1c999eba3c1ce438caaf5fb1e7f3b86d0c225d42..5235091ec7eb06dca635c322218e13c507880fcc 100644 |
--- a/src/codec/SkBmpCodec.cpp |
+++ b/src/codec/SkBmpCodec.cpp |
@@ -603,7 +603,7 @@ int32_t SkBmpCodec::getDstRow(int32_t y, int32_t height) const { |
SkCodec::Result SkBmpCodec::onStartScanlineDecode(const SkImageInfo& dstInfo, |
const SkCodec::Options& options, SkPMColor inputColorPtr[], int* inputColorCount) { |
- if (!conversion_possible(dstInfo, this->getInfo())) { |
+ if (!legacy_conversion_possible(dstInfo, this->getInfo())) { |
SkCodecPrintf("Error: cannot convert input type to output type.\n"); |
return kInvalidConversion; |
} |