aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/codec/SkWebpAdapterCodec.h
diff options
context:
space:
mode:
authorGravatar scroggo <scroggo@chromium.org>2015-11-04 04:31:12 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-04 04:31:12 -0800
commite95a06883b6d9972ea58c4e16f772bb88af393e9 (patch)
treed96d0f143a434607236f28db000d022db47d7b51 /src/codec/SkWebpAdapterCodec.h
parent07b41eb962fdb007f788fcd82e338d7aef126064 (diff)
Make AndroidOptions const
Make the struct passed to SkAndroidCodec::getAndroidPixels const. This matches SkCodec, and makes sense, since it is not used as an output. Brought up in crrev.com/1417583009 Review URL: https://codereview.chromium.org/1411693005
Diffstat (limited to 'src/codec/SkWebpAdapterCodec.h')
-rw-r--r--src/codec/SkWebpAdapterCodec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codec/SkWebpAdapterCodec.h b/src/codec/SkWebpAdapterCodec.h
index b48f39bb60..ed0292a02e 100644
--- a/src/codec/SkWebpAdapterCodec.h
+++ b/src/codec/SkWebpAdapterCodec.h
@@ -30,7 +30,7 @@ protected:
bool onGetSupportedSubset(SkIRect* desiredSubset) const override;
SkCodec::Result onGetAndroidPixels(const SkImageInfo& info, void* pixels, size_t rowBytes,
- AndroidOptions& options) override;
+ const AndroidOptions& options) override;
private: