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

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

Issue 2476493003: Remove FundamentalValue
Patch Set: Fix Created 4 years, 1 month 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 288b16dc2ec0c6acadd32bf5e81279cbd4bdf952..814179cc57cb40f92154994e6099fba79a77035d 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
@@ -306,7 +306,7 @@ void ChangePictureOptionsHandler::SendSelectedImage() {
void ChangePictureOptionsHandler::SendProfileImage(const gfx::ImageSkia& image,
bool should_select) {
base::StringValue data_url(webui::GetBitmapDataUrl(*image.bitmap()));
- base::FundamentalValue select(should_select);
+ base::Value select(should_select);
web_ui()->CallJavascriptFunctionUnsafe("ChangePictureOptions.setProfileImage",
data_url, select);
}
@@ -425,7 +425,7 @@ void ChangePictureOptionsHandler::SetImageFromCamera(
}
void ChangePictureOptionsHandler::SetCameraPresent(bool present) {
- base::FundamentalValue present_value(present);
+ base::Value present_value(present);
web_ui()->CallJavascriptFunctionUnsafe(
"ChangePictureOptions.setCameraPresent", present_value);

Powered by Google App Engine
This is Rietveld 408576698