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

Unified Diff: chrome/browser/ui/webui/options/chromeos/display_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/display_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc
index 62c368bfc835f60bbffc585b7cf20a0818b4e488..e85e730ac8f49d2113be9d09b3b5148718628218 100644
--- a/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc
@@ -317,7 +317,7 @@ void DisplayOptionsHandler::SendAllDisplayInfo() {
display_mode = display::DisplayManager::UNIFIED;
else
display_mode = display::DisplayManager::EXTENDED;
- base::FundamentalValue mode(static_cast<int>(display_mode));
+ base::Value mode(static_cast<int>(display_mode));
int64_t primary_id = display::Screen::GetScreen()->GetPrimaryDisplay().id();
std::unique_ptr<base::ListValue> js_displays(new base::ListValue);
@@ -391,9 +391,9 @@ void DisplayOptionsHandler::UpdateDisplaySettingsEnabled() {
web_ui()->CallJavascriptFunctionUnsafe(
"options.BrowserOptions.enableDisplaySettings",
- base::FundamentalValue(ui_enabled),
- base::FundamentalValue(unified_enabled),
- base::FundamentalValue(mirrored_enabled));
+ base::Value(ui_enabled),
+ base::Value(unified_enabled),
+ base::Value(mirrored_enabled));
}
void DisplayOptionsHandler::HandleDisplayInfo(

Powered by Google App Engine
This is Rietveld 408576698