Index: chrome/browser/sync/profile_sync_service_startup_unittest.cc |
diff --git a/chrome/browser/sync/profile_sync_service_startup_unittest.cc b/chrome/browser/sync/profile_sync_service_startup_unittest.cc |
index 4d670c79f43b9bb24d56ffef90bd2731af4c8ed1..0f59dc6f3601e5f3a32e287f88a497ce3a10db7c 100644 |
--- a/chrome/browser/sync/profile_sync_service_startup_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_service_startup_unittest.cc |
@@ -165,7 +165,7 @@ class ProfileSyncServiceStartupTest : public testing::Test { |
sync_client->SetSyncApiComponentFactoryForTesting( |
make_scoped_ptr(new SyncApiComponentFactoryMock())); |
return make_scoped_ptr(new TestProfileSyncServiceNoBackup( |
- sync_client.Pass(), profile, |
+ std::move(sync_client), profile, |
make_scoped_ptr(new SigninManagerWrapper( |
SigninManagerFactory::GetForProfile(profile))), |
ProfileOAuth2TokenServiceFactory::GetForProfile(profile), |
@@ -272,7 +272,7 @@ class ProfileSyncServiceStartupCrosTest : public ProfileSyncServiceStartupTest { |
sync_client->SetSyncApiComponentFactoryForTesting( |
make_scoped_ptr(new SyncApiComponentFactoryMock())); |
return make_scoped_ptr(new TestProfileSyncServiceNoBackup( |
- sync_client.Pass(), profile, |
+ std::move(sync_client), profile, |
make_scoped_ptr(new SigninManagerWrapper(signin)), oauth2_token_service, |
browser_sync::AUTO_START)); |
} |