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

Unified Diff: chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc

Issue 10892023: Force avatar and wallpaper decoding to use robust JPEG. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Applied comments. Created 8 years, 4 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
Index: chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc
index f6058e4ad444184b1b5ea3c013bcf9132fcd7fc7..4238d2652a80c3e525462f74debf20b2abe10e5f 100644
--- a/chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc
@@ -200,7 +200,8 @@ void ChangePictureOptionsHandler::HandlePhotoTaken(
if (image_decoder_.get())
image_decoder_->set_delegate(NULL);
- image_decoder_ = new ImageDecoder(this, raw_data);
+ image_decoder_ = new ImageDecoder(this, raw_data,
+ ImageDecoder::DEFAULT_CODEC);
Nikita (slow) 2012/08/29 14:20:11 Same here.
Emmanuel Saint-loubert-Bié 2012/08/29 17:52:08 Done.
image_decoder_->Start();
}

Powered by Google App Engine
This is Rietveld 408576698