| Index: components/sync/test/fake_server/fake_server.cc
|
| diff --git a/components/sync/test/fake_server/fake_server.cc b/components/sync/test/fake_server/fake_server.cc
|
| index c2a1a603e51de1d4cc45dbddb49fc835e41f5943..de1cb209907ecd8ea7256b7e968a9d785c977fc4 100644
|
| --- a/components/sync/test/fake_server/fake_server.cc
|
| +++ b/components/sync/test/fake_server/fake_server.cc
|
| @@ -504,7 +504,8 @@ FakeServer::GetEntitiesAsDictionaryValue() {
|
| // Initialize an empty ListValue for all ModelTypes.
|
| ModelTypeSet all_types = ModelTypeSet::All();
|
| for (ModelTypeSet::Iterator it = all_types.First(); it.Good(); it.Inc()) {
|
| - dictionary->Set(ModelTypeToString(it.Get()), new base::ListValue());
|
| + dictionary->Set(ModelTypeToString(it.Get()),
|
| + base::MakeUnique<base::ListValue>());
|
| }
|
|
|
| for (EntityMap::const_iterator it = entities_.begin(); it != entities_.end();
|
|
|