Index: components/sync/model_impl/shared_model_type_processor_unittest.cc |
diff --git a/components/sync/model_impl/shared_model_type_processor_unittest.cc b/components/sync/model_impl/shared_model_type_processor_unittest.cc |
index a42ddf1b3706a6218050332ed21fa0bb49a3ec30..5373b43ae2e9e2aba4a50578058b4bce57054491 100644 |
--- a/components/sync/model_impl/shared_model_type_processor_unittest.cc |
+++ b/components/sync/model_impl/shared_model_type_processor_unittest.cc |
@@ -674,7 +674,7 @@ TEST_F(SharedModelTypeProcessorTest, LocalUpdateItemWithOverrides) { |
EXPECT_EQ(kId1, metadata_v1.server_id()); |
EXPECT_EQ(metadata_v1.client_tag_hash(), out_entity1.client_tag_hash); |
- entity_data.reset(new EntityData()); |
+ entity_data = base::MakeUnique<EntityData>(); |
// This is a sketchy move here, changing the name will change the generated |
// storage key and client tag values. |
entity_data->specifics.mutable_preference()->set_name(kKey2); |