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 bd0a291b8f11c56701be8b073e918a5336ce787a..573516474e3f8595d4e7c982837251e267a94019 100644 |
--- a/chrome/browser/ui/webui/options/core_options_handler.cc |
+++ b/chrome/browser/ui/webui/options/core_options_handler.cc |
@@ -556,7 +556,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; |
} |
@@ -644,15 +644,14 @@ void CoreOptionsHandler::HandleDisableExtension(const base::ListValue* args) { |
} |
void CoreOptionsHandler::UpdateClearPluginLSOData() { |
- base::FundamentalValue enabled( |
- plugin_status_pref_setter_.IsClearPluginLSODataEnabled()); |
+ base::Value enabled(plugin_status_pref_setter_.IsClearPluginLSODataEnabled()); |
web_ui()->CallJavascriptFunctionUnsafe( |
"options.OptionsPage.setClearPluginLSODataEnabled", enabled); |
} |
void CoreOptionsHandler::UpdatePepperFlashSettingsEnabled() { |
- base::FundamentalValue enabled( |
- plugin_status_pref_setter_.IsPepperFlashSettingsEnabled()); |
+ base::Value enabled( |
+ plugin_status_pref_setter_.IsPepperFlashSettingsEnabled()); |
web_ui()->CallJavascriptFunctionUnsafe( |
"options.OptionsPage.setPepperFlashSettingsEnabled", enabled); |
} |