| Index: chrome/browser/chromeos/settings/cros_settings.cc
|
| diff --git a/chrome/browser/chromeos/settings/cros_settings.cc b/chrome/browser/chromeos/settings/cros_settings.cc
|
| index c0d7f889b058146cd01071f85ccf271ac4c2fd22..f0a8e715027f0b9ad258f40e734e3915eb4a4650 100644
|
| --- a/chrome/browser/chromeos/settings/cros_settings.cc
|
| +++ b/chrome/browser/chromeos/settings/cros_settings.cc
|
| @@ -152,7 +152,8 @@ void CrosSettings::AppendToList(const std::string& path,
|
| const base::Value* old_value = GetPref(path);
|
| std::unique_ptr<base::Value> new_value(old_value ? old_value->DeepCopy()
|
| : new base::ListValue());
|
| - static_cast<base::ListValue*>(new_value.get())->Append(value->DeepCopy());
|
| + static_cast<base::ListValue*>(new_value.get())
|
| + ->Append(value->CreateDeepCopy());
|
| Set(path, *new_value);
|
| }
|
|
|
|
|