Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Unified Diff: chrome/browser/image_decoder.cc

Issue 600913002: Revert of Large wallpaper decoding in utility process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/image_decoder.h ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/image_decoder.cc
diff --git a/chrome/browser/image_decoder.cc b/chrome/browser/image_decoder.cc
index 4c96bb4831641bd538ddf4daa56b4ace5f9ce847..b49c1b9e42d0fb906ad445ef934fa92110006039 100644
--- a/chrome/browser/image_decoder.cc
+++ b/chrome/browser/image_decoder.cc
@@ -19,8 +19,7 @@
: delegate_(delegate),
image_data_(image_data.begin(), image_data.end()),
image_codec_(image_codec),
- task_runner_(NULL),
- shrink_to_fit_(false) {
+ task_runner_(NULL) {
}
ImageDecoder::~ImageDecoder() {}
@@ -65,7 +64,6 @@
utility_process_host->Send(
new ChromeUtilityMsg_RobustJPEGDecodeImage(image_data));
} else {
- utility_process_host->Send(
- new ChromeUtilityMsg_DecodeImage(image_data, shrink_to_fit_));
+ utility_process_host->Send(new ChromeUtilityMsg_DecodeImage(image_data));
}
}
« no previous file with comments | « chrome/browser/image_decoder.h ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698