Index: src/codec/SkSampledCodec.cpp |
diff --git a/src/codec/SkSampledCodec.cpp b/src/codec/SkSampledCodec.cpp |
index ed4eb7f02de94cab2b411291805e06d4fdf703b4..5302149e1212ba6a14d34e6a29878c24fdfc1d3f 100644 |
--- a/src/codec/SkSampledCodec.cpp |
+++ b/src/codec/SkSampledCodec.cpp |
@@ -70,7 +70,7 @@ SkISize SkSampledCodec::onGetSampledDimensions(int sampleSize) const { |
} |
SkCodec::Result SkSampledCodec::onGetAndroidPixels(const SkImageInfo& info, void* pixels, |
- size_t rowBytes, AndroidOptions& options) { |
+ size_t rowBytes, const AndroidOptions& options) { |
// Create an Options struct for the codec. |
SkCodec::Options codecOptions; |
codecOptions.fZeroInitialized = options.fZeroInitialized; |
@@ -135,7 +135,7 @@ SkCodec::Result SkSampledCodec::onGetAndroidPixels(const SkImageInfo& info, void |
SkCodec::Result SkSampledCodec::sampledDecode(const SkImageInfo& info, void* pixels, |
- size_t rowBytes, AndroidOptions& options) { |
+ size_t rowBytes, const AndroidOptions& options) { |
// We should only call this function when sampling. |
SkASSERT(options.fSampleSize > 1); |