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 d98d88b963da29b31b0de663bc34fa031ede23a1..2a27bac5f26809561dca49963b93fd4318a507ff 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 |
@@ -410,7 +410,7 @@ void CoreChromeOSOptionsHandler::OnPreferenceChanged( |
void CoreChromeOSOptionsHandler::NotifySettingsChanged( |
const std::string& setting_name) { |
DCHECK(CrosSettings::Get()->IsCrosSettings(setting_name)); |
- scoped_ptr<base::Value> value(FetchPref(setting_name)); |
+ std::unique_ptr<base::Value> value(FetchPref(setting_name)); |
if (!value.get()) |
NOTREACHED(); |
DispatchPrefChangeNotification(setting_name, std::move(value)); |
@@ -423,7 +423,7 @@ void CoreChromeOSOptionsHandler::NotifyProxyPrefsChanged() { |
proxy_cros_settings_parser::GetProxyPrefValue( |
proxy_config_service_, kProxySettings[i], &value); |
DCHECK(value); |
- scoped_ptr<base::Value> ptr(value); |
+ std::unique_ptr<base::Value> ptr(value); |
DispatchPrefChangeNotification(kProxySettings[i], std::move(ptr)); |
} |
} |