Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Unified Diff: components/browser_sync/browser/profile_sync_service_startup_unittest.cc

Issue 2289143003: [Sync] Convert DTCs to be not RefCounted and NonThreadSafe. (Closed)
Patch Set: Rebase. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/browser_sync/browser/profile_sync_service_startup_unittest.cc
diff --git a/components/browser_sync/browser/profile_sync_service_startup_unittest.cc b/components/browser_sync/browser/profile_sync_service_startup_unittest.cc
index 6d35f16ec8e0e4372a7082628fdac11148c0964d..51f605eb6081b2f2e03ba0aee979e078a36db873 100644
--- a/components/browser_sync/browser/profile_sync_service_startup_unittest.cc
+++ b/components/browser_sync/browser/profile_sync_service_startup_unittest.cc
@@ -97,7 +97,8 @@ class ProfileSyncServiceStartupTest : public testing::Test {
sync_service_.reset(new ProfileSyncService(std::move(init_params)));
sync_service_->RegisterDataTypeController(
- new sync_driver::FakeDataTypeController(syncer::BOOKMARKS));
+ base::MakeUnique<sync_driver::FakeDataTypeController>(
+ syncer::BOOKMARKS));
sync_service_->AddObserver(&observer_);
}

Powered by Google App Engine
This is Rietveld 408576698