| Index: components/sync/syncable/syncable_id.cc
|
| diff --git a/components/sync/syncable/syncable_id.cc b/components/sync/syncable/syncable_id.cc
|
| index 24d8dfdbde821416605a2006f3523e292456550e..14c7e58c8b9e3251d738cc36105aa4e571d42753 100644
|
| --- a/components/sync/syncable/syncable_id.cc
|
| +++ b/components/sync/syncable/syncable_id.cc
|
| @@ -5,6 +5,7 @@
|
| #include "components/sync/syncable/syncable_id.h"
|
|
|
| #include "base/logging.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/values.h"
|
|
|
| using std::ostream;
|
| @@ -18,8 +19,8 @@ ostream& operator<<(ostream& out, const Id& id) {
|
| return out;
|
| }
|
|
|
| -base::Value* Id::ToValue() const {
|
| - return new base::Value(s_);
|
| +std::unique_ptr<base::Value> Id::ToValue() const {
|
| + return base::MakeUnique<base::Value>(s_);
|
| }
|
|
|
| string Id::GetServerId() const {
|
|
|