Index: src/codec/SkSampledCodec.h |
diff --git a/src/codec/SkSampledCodec.h b/src/codec/SkSampledCodec.h |
index bbd7d3599c200b5174e9ec74a3d0009b0cce052d..b3a59126d26c003997cb6426959e49a54e1098f0 100644 |
--- a/src/codec/SkSampledCodec.h |
+++ b/src/codec/SkSampledCodec.h |
@@ -30,7 +30,7 @@ protected: |
bool onGetSupportedSubset(SkIRect* desiredSubset) const override { return true; } |
SkCodec::Result onGetAndroidPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, |
- AndroidOptions& options) override; |
+ const AndroidOptions& options) override; |
private: |
/** |
@@ -55,7 +55,7 @@ private: |
* provide the scale by sampling. |
*/ |
SkCodec::Result sampledDecode(const SkImageInfo& info, void* pixels, size_t rowBytes, |
- AndroidOptions& options); |
+ const AndroidOptions& options); |
SkAutoTDelete<SkCodec> fCodec; |