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

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

Issue 2666093002: Remove base::FundamentalValue (Closed)
Patch Set: Rebase Created 3 years, 10 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 261e2b00d7c2a5ee7b693bdf30bbe9d98cfc05a6..73df7234e789e3253f3f32d952746ec3218fc260 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
@@ -302,7 +302,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);
}
@@ -423,7 +423,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