| Index: rlz/chromeos/lib/rlz_value_store_chromeos.cc
|
| diff --git a/rlz/chromeos/lib/rlz_value_store_chromeos.cc b/rlz/chromeos/lib/rlz_value_store_chromeos.cc
|
| index 8d526fea1977a8d0330b88e371184c6c93f50698..9f07b75a669e304d2cc03456835a54dbf0e81ed2 100644
|
| --- a/rlz/chromeos/lib/rlz_value_store_chromeos.cc
|
| +++ b/rlz/chromeos/lib/rlz_value_store_chromeos.cc
|
| @@ -212,7 +212,7 @@ void RlzValueStoreChromeOS::ReadStore() {
|
| int error_code = 0;
|
| std::string error_msg;
|
| JSONFileValueDeserializer deserializer(store_path_);
|
| - scoped_ptr<base::Value> value =
|
| + std::unique_ptr<base::Value> value =
|
| deserializer.Deserialize(&error_code, &error_msg);
|
| switch (error_code) {
|
| case JSONFileValueDeserializer::JSON_NO_SUCH_FILE:
|
| @@ -231,7 +231,7 @@ void RlzValueStoreChromeOS::WriteStore() {
|
| std::string json_data;
|
| JSONStringValueSerializer serializer(&json_data);
|
| serializer.set_pretty_print(true);
|
| - scoped_ptr<base::DictionaryValue> copy =
|
| + std::unique_ptr<base::DictionaryValue> copy =
|
| rlz_store_->DeepCopyWithoutEmptyChildren();
|
| if (!serializer.Serialize(*copy.get())) {
|
| LOG(ERROR) << "Failed to serialize RLZ data";
|
|
|