| Index: chromeos/network/network_ui_data.cc
|
| diff --git a/chromeos/network/network_ui_data.cc b/chromeos/network/network_ui_data.cc
|
| index 596448b20b4cef88cbdd9abbb3a79c735612de3b..ba0b3dc5be9eb03b0f8b756803b9ab722c608790 100644
|
| --- a/chromeos/network/network_ui_data.cc
|
| +++ b/chromeos/network/network_ui_data.cc
|
| @@ -7,6 +7,7 @@
|
| #include <utility>
|
|
|
| #include "base/logging.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/values.h"
|
|
|
| namespace chromeos {
|
| @@ -106,8 +107,8 @@ void NetworkUIData::FillDictionary(base::DictionaryValue* dict) const {
|
| dict->SetString(kKeyONCSource, source_string);
|
|
|
| if (user_settings_)
|
| - dict->SetWithoutPathExpansion(kKeyUserSettings,
|
| - user_settings_->DeepCopy());
|
| + dict->SetWithoutPathExpansion(
|
| + kKeyUserSettings, base::MakeUnique<base::Value>(*user_settings_));
|
| }
|
|
|
| // static
|
|
|