| Index: components/browser_sync/profile_sync_service_startup_unittest.cc
|
| diff --git a/components/browser_sync/profile_sync_service_startup_unittest.cc b/components/browser_sync/profile_sync_service_startup_unittest.cc
|
| index f0ef72e01337cc2617ce8786c8e4af0eef7e605d..45cbaa37032e069cac98da4ba6f348d2cbcfd149 100644
|
| --- a/components/browser_sync/profile_sync_service_startup_unittest.cc
|
| +++ b/components/browser_sync/profile_sync_service_startup_unittest.cc
|
| @@ -5,6 +5,7 @@
|
| #include "components/browser_sync/profile_sync_service.h"
|
|
|
| #include "base/files/file_util.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| #include "components/browser_sync/profile_sync_test_util.h"
|
| @@ -90,7 +91,8 @@ class ProfileSyncServiceStartupTest : public testing::Test {
|
| profile_sync_service_bundle_.CreateBasicInitParams(start_behavior,
|
| builder.Build());
|
|
|
| - sync_service_.reset(new ProfileSyncService(std::move(init_params)));
|
| + sync_service_ =
|
| + base::MakeUnique<ProfileSyncService>(std::move(init_params));
|
| sync_service_->RegisterDataTypeController(
|
| base::MakeUnique<syncer::FakeDataTypeController>(syncer::BOOKMARKS));
|
| sync_service_->AddObserver(&observer_);
|
|
|