| Index: components/sync/device_info/device_info_service_unittest.cc
|
| diff --git a/components/sync/device_info/device_info_service_unittest.cc b/components/sync/device_info/device_info_service_unittest.cc
|
| index 3afcb5b4540a7eb340e057479e20759d508e4f9e..83a9c8d4e55a32dd1f696f5fde7bf3a0277fe549 100644
|
| --- a/components/sync/device_info/device_info_service_unittest.cc
|
| +++ b/components/sync/device_info/device_info_service_unittest.cc
|
| @@ -188,12 +188,12 @@ class DeviceInfoServiceTest : public testing::Test,
|
| // only be called once per run, as it passes |store_|.
|
| void InitializeService() {
|
| ASSERT_TRUE(store_);
|
| - service_.reset(new DeviceInfoService(
|
| + service_ = base::MakeUnique<DeviceInfoService>(
|
| local_device_.get(),
|
| base::Bind(&ModelTypeStoreTestUtil::MoveStoreToCallback,
|
| base::Passed(&store_)),
|
| base::Bind(&DeviceInfoServiceTest::CreateModelTypeChangeProcessor,
|
| - base::Unretained(this))));
|
| + base::Unretained(this)));
|
| service_->AddObserver(this);
|
| }
|
|
|
|
|