Index: src/codec/SkBmpCodec.cpp |
diff --git a/src/codec/SkBmpCodec.cpp b/src/codec/SkBmpCodec.cpp |
index 4e801f0be198e95c9f587b42ebb1e4fe03194ecc..4ae57c057ab2d7c51d698e565be12a1c224560f7 100644 |
--- a/src/codec/SkBmpCodec.cpp |
+++ b/src/codec/SkBmpCodec.cpp |
@@ -576,9 +576,6 @@ uint32_t SkBmpCodec::computeNumColors(uint32_t numColors) { |
SkCodec::Result SkBmpCodec::onStartScanlineDecode(const SkImageInfo& dstInfo, |
const SkCodec::Options& options, SkPMColor inputColorPtr[], int* inputColorCount) { |
- if (!this->rewindIfNeeded()) { |
- return kCouldNotRewind; |
- } |
if (options.fSubset) { |
// Subsets are not supported. |
return kUnimplemented; |