Index: src/codec/SkCodec_libgif.cpp |
diff --git a/src/codec/SkCodec_libgif.cpp b/src/codec/SkCodec_libgif.cpp |
index ad7fb5b578d56263a3963aa673ddd021053acda5..e6d1141669b69ee122053a61b80bcf643b54b6ea 100644 |
--- a/src/codec/SkCodec_libgif.cpp |
+++ b/src/codec/SkCodec_libgif.cpp |
@@ -456,11 +456,6 @@ void SkGifCodec::initializeColorTable(const SkImageInfo& dstInfo, SkPMColor* inp |
SkCodec::Result SkGifCodec::prepareToDecode(const SkImageInfo& dstInfo, SkPMColor* inputColorPtr, |
int* inputColorCount, const Options& opts) { |
- // Rewind if necessary |
- if (!this->rewindIfNeeded()) { |
- return kCouldNotRewind; |
- } |
- |
// Check for valid input parameters |
if (opts.fSubset) { |
// Subsets are not supported. |