Index: src/codec/SkScaledCodec.cpp |
diff --git a/src/codec/SkScaledCodec.cpp b/src/codec/SkScaledCodec.cpp |
index 078a0261a0c392c26e083532cddc358a9ac770b9..65fd93c8c0e50fc1e018573c162cc707d31877b2 100644 |
--- a/src/codec/SkScaledCodec.cpp |
+++ b/src/codec/SkScaledCodec.cpp |
@@ -44,6 +44,10 @@ SkScaledCodec::SkScaledCodec(SkCodec* codec) |
SkScaledCodec::~SkScaledCodec() {} |
+bool SkScaledCodec::onRewind() { |
+ return fCodec->onRewind(); |
+} |
+ |
static SkISize best_scaled_dimensions(const SkISize& origDims, const SkISize& nativeDims, |
const SkISize& scaledCodecDims, float desiredScale) { |
if (nativeDims == scaledCodecDims) { |