Index: chrome/browser/image_decoder.h |
diff --git a/chrome/browser/image_decoder.h b/chrome/browser/image_decoder.h |
index f2cca72f4946340bcaa865c93b9ef3d9aeac338c..d40674744879e5cab487b50423e10d4f8413818b 100644 |
--- a/chrome/browser/image_decoder.h |
+++ b/chrome/browser/image_decoder.h |
@@ -52,6 +52,7 @@ class ImageDecoder : public content::UtilityProcessHostClient { |
} |
void set_delegate(Delegate* delegate) { delegate_ = delegate; } |
+ void set_shrink_to_fit(bool shrink_to_fit) { shrink_to_fit_ = shrink_to_fit; } |
private: |
// It's a reference counted object, so destructor is private. |
@@ -71,6 +72,7 @@ class ImageDecoder : public content::UtilityProcessHostClient { |
std::vector<unsigned char> image_data_; |
const ImageCodec image_codec_; |
scoped_refptr<base::SequencedTaskRunner> task_runner_; |
+ bool shrink_to_fit_; |
sky
2014/09/09 20:19:11
Add a description of this.
Greg Levin
2014/09/16 15:46:36
Done.
|
DISALLOW_COPY_AND_ASSIGN(ImageDecoder); |
}; |