Index: chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc |
diff --git a/chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc b/chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc |
index f016ae4015c992353b7dca95efb47b5dc87c31d8..ea0b1d9f953e980f0ebd04366cabacc4081e2f8d 100644 |
--- a/chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc |
@@ -106,13 +106,12 @@ |
ProfileOAuth2TokenService* token_service = |
ProfileOAuth2TokenServiceFactory::GetForProfile(profile_.get()); |
scoped_ptr<ProfileSyncService> pss(new ProfileSyncService( |
- scoped_ptr<ProfileSyncComponentsFactory>( |
- new ProfileSyncComponentsFactoryImpl( |
- profile_.get(), |
- command_line_.get(), |
- ProfileSyncService::GetSyncServiceURL(*command_line_), |
- token_service, |
- profile_->GetRequestContext())), |
+ new ProfileSyncComponentsFactoryImpl( |
+ profile_.get(), |
+ command_line_.get(), |
+ ProfileSyncService::GetSyncServiceURL(*command_line_), |
+ token_service, |
+ profile_->GetRequestContext()), |
profile_.get(), |
make_scoped_ptr<SupervisedUserSigninManagerWrapper>(NULL), |
token_service, |
@@ -134,13 +133,12 @@ |
ProfileOAuth2TokenService* token_service = |
ProfileOAuth2TokenServiceFactory::GetForProfile(profile_.get()); |
scoped_ptr<ProfileSyncService> pss(new ProfileSyncService( |
- scoped_ptr<ProfileSyncComponentsFactory>( |
- new ProfileSyncComponentsFactoryImpl( |
- profile_.get(), |
- command_line_.get(), |
- ProfileSyncService::GetSyncServiceURL(*command_line_), |
- token_service, |
- profile_->GetRequestContext())), |
+ new ProfileSyncComponentsFactoryImpl( |
+ profile_.get(), |
+ command_line_.get(), |
+ ProfileSyncService::GetSyncServiceURL(*command_line_), |
+ token_service, |
+ profile_->GetRequestContext()), |
profile_.get(), |
make_scoped_ptr<SupervisedUserSigninManagerWrapper>(NULL), |
token_service, |