| Index: src/codec/SkBmpCodec.cpp
|
| diff --git a/src/codec/SkBmpCodec.cpp b/src/codec/SkBmpCodec.cpp
|
| index 4ae57c057ab2d7c51d698e565be12a1c224560f7..da3e0a28070800c3e3044c192e19653eea3dc1cd 100644
|
| --- a/src/codec/SkBmpCodec.cpp
|
| +++ b/src/codec/SkBmpCodec.cpp
|
| @@ -580,11 +580,6 @@ SkCodec::Result SkBmpCodec::onStartScanlineDecode(const SkImageInfo& dstInfo,
|
| // Subsets are not supported.
|
| return kUnimplemented;
|
| }
|
| - if (dstInfo.dimensions() != this->getInfo().dimensions()) {
|
| - if (!SkScaledCodec::DimensionsSupportedForSampling(this->getInfo(), dstInfo)) {
|
| - return SkCodec::kInvalidScale;
|
| - }
|
| - }
|
| if (!conversion_possible(dstInfo, this->getInfo())) {
|
| SkCodecPrintf("Error: cannot convert input type to output type.\n");
|
| return kInvalidConversion;
|
|
|