Index: src/codec/SkCodec_wbmp.cpp |
diff --git a/src/codec/SkCodec_wbmp.cpp b/src/codec/SkCodec_wbmp.cpp |
index 0c85eada7c83c33458558f47b08b7a3dca55d819..1696dfb58515cd6ebf699bf1f2da54d16610b35c 100644 |
--- a/src/codec/SkCodec_wbmp.cpp |
+++ b/src/codec/SkCodec_wbmp.cpp |
@@ -110,9 +110,6 @@ SkCodec::Result SkWbmpCodec::onGetPixels(const SkImageInfo& info, |
const Options& options, |
SkPMColor ctable[], |
int* ctableCount) { |
- if (!this->rewindIfNeeded()) { |
- return kCouldNotRewind; |
- } |
if (options.fSubset) { |
// Subsets are not supported. |
return kUnimplemented; |
@@ -180,9 +177,6 @@ SkCodec::Result SkWbmpCodec::onGetScanlines(void* dst, int count, size_t dstRowB |
SkCodec::Result SkWbmpCodec::onStartScanlineDecode(const SkImageInfo& dstInfo, |
const Options& options, SkPMColor inputColorTable[], int* inputColorCount) { |
- if (!this->rewindIfNeeded()) { |
- return kCouldNotRewind; |
- } |
if (options.fSubset) { |
// Subsets are not supported. |
return kUnimplemented; |