Index: include/codec/SkAndroidCodec.h |
diff --git a/include/codec/SkAndroidCodec.h b/include/codec/SkAndroidCodec.h |
index 42e7fa8b9f85229b0aebc25ddf0108e73488820f..e33116f9ba0c52f1fc665b34bcaf88a586c86ce0 100644 |
--- a/include/codec/SkAndroidCodec.h |
+++ b/include/codec/SkAndroidCodec.h |
@@ -192,7 +192,7 @@ public: |
// this getPixels() when it is a slightly different API than SkCodec's getPixels(). |
// Maybe this should be decode() or decodeSubset()? |
SkCodec::Result getAndroidPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, |
- AndroidOptions* options); |
+ const AndroidOptions* options); |
/** |
* Simplified version of getAndroidPixels() where we supply the default AndroidOptions. |
@@ -213,7 +213,7 @@ protected: |
virtual bool onGetSupportedSubset(SkIRect* desiredSubset) const = 0; |
virtual SkCodec::Result onGetAndroidPixels(const SkImageInfo& info, void* pixels, |
- size_t rowBytes, AndroidOptions& options) = 0; |
+ size_t rowBytes, const AndroidOptions& options) = 0; |
private: |