Index: src/codec/SkWebpCodec.cpp |
diff --git a/src/codec/SkWebpCodec.cpp b/src/codec/SkWebpCodec.cpp |
index ccf49649edb30e669c1b497f94b0e3cb69eeec0d..5970baeef66e34f996967ca98f8bc728ad41f004 100644 |
--- a/src/codec/SkWebpCodec.cpp |
+++ b/src/codec/SkWebpCodec.cpp |
@@ -152,10 +152,6 @@ bool SkWebpCodec::onGetValidSubset(SkIRect* desiredSubset) const { |
SkCodec::Result SkWebpCodec::onGetPixels(const SkImageInfo& dstInfo, void* dst, size_t rowBytes, |
const Options& options, SkPMColor*, int*) { |
- if (!this->rewindIfNeeded()) { |
- return kCouldNotRewind; |
- } |
- |
if (!webp_conversion_possible(dstInfo, this->getInfo())) { |
return kInvalidConversion; |
} |