Index: chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc |
diff --git a/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc |
index 295b834849a0fab0b711d9183b00e6b794d5f952..0f8ab459b280afd05bb36c5d97edd71ae276d9c6 100644 |
--- a/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc |
+++ b/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc |
@@ -26,7 +26,7 @@ Value* CoreChromeOSOptionsHandler::FetchPref(const std::string& pref_name) { |
Value* pref_value = NULL; |
CrosSettings::Get()->Get(pref_name, &pref_value); |
- return pref_value ? pref_value : Value::CreateNullValue(); |
+ return pref_value ? pref_value : base::NullValue(); |
} |
void CoreChromeOSOptionsHandler::ObservePref(const std::string& pref_name) { |
@@ -88,7 +88,7 @@ void CoreChromeOSOptionsHandler::NotifySettingsChanged( |
iter != pref_callback_map_.end(); ++iter) { |
const std::wstring& callback_function = iter->second; |
ListValue result_value; |
- result_value.Append(Value::CreateStringValue(setting_name->c_str())); |
+ result_value.Append(base::StringValue::New(setting_name->c_str())); |
result_value.Append(value->DeepCopy()); |
web_ui_->CallJavascriptFunction(WideToASCII(callback_function), |
result_value); |