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

Unified Diff: chrome/browser/ui/webui/options/core_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/core_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/core_options_handler.cc b/chrome/browser/ui/webui/options/core_options_handler.cc
index f8431556fbf13f54e037604f4779b4703d39130b..522a9c553d7b1d810f0c05c8a018b40f99306f96 100644
--- a/chrome/browser/ui/webui/options/core_options_handler.cc
+++ b/chrome/browser/ui/webui/options/core_options_handler.cc
@@ -558,7 +558,7 @@ void CoreOptionsHandler::HandleSetPref(const base::ListValue* args,
return;
}
int int_value = static_cast<int>(double_value);
- temp_value.reset(new base::FundamentalValue(int_value));
+ temp_value.reset(new base::Value(int_value));
value = temp_value.get();
break;
}
@@ -646,14 +646,14 @@ void CoreOptionsHandler::HandleDisableExtension(const base::ListValue* args) {
}
void CoreOptionsHandler::UpdateClearPluginLSOData() {
- base::FundamentalValue enabled(
+ base::Value enabled(
plugin_status_pref_setter_.IsClearPluginLSODataEnabled());
web_ui()->CallJavascriptFunctionUnsafe(
"options.OptionsPage.setClearPluginLSODataEnabled", enabled);
}
void CoreOptionsHandler::UpdatePepperFlashSettingsEnabled() {
- base::FundamentalValue enabled(
+ base::Value enabled(
plugin_status_pref_setter_.IsPepperFlashSettingsEnabled());
web_ui()->CallJavascriptFunctionUnsafe(
"options.OptionsPage.setPepperFlashSettingsEnabled", enabled);
« no previous file with comments | « chrome/browser/ui/webui/options/content_settings_handler.cc ('k') | chrome/browser/ui/webui/options/font_settings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698