Index: src/codec/SkWebpCodec.h |
diff --git a/src/codec/SkWebpCodec.h b/src/codec/SkWebpCodec.h |
index 97b3920ce9a4ea27e74c0737af613166e2ca2de6..900c3e3024086f235f581a1c4b7f777f0a424b6f 100644 |
--- a/src/codec/SkWebpCodec.h |
+++ b/src/codec/SkWebpCodec.h |
@@ -33,7 +33,11 @@ protected: |
bool onDimensionsSupported(const SkISize&) override; |
- bool onGetValidSubset(SkIRect* /* desiredSubset */) const override; |
+ bool onSubsetSupported(const SkIRect& subset, bool isScanlineDecode) override; |
+ |
+ bool onScaledSubsetSupported(const Options& options, bool isScanlineDecode) override; |
+ |
+ bool onGetScaledSubsetDimensions(float desiredScale, const Options& options) const override; |
private: |
SkWebpCodec(const SkImageInfo&, SkStream*); |