| Index: chrome/browser/sync/profile_sync_service_unittest.cc
|
| diff --git a/chrome/browser/sync/profile_sync_service_unittest.cc b/chrome/browser/sync/profile_sync_service_unittest.cc
|
| index d25b538868143501dd72e147699941a9ce73cce7..d738304aad4834d2d2fcd4c66aff9ce94bc2f8f0 100644
|
| --- a/chrome/browser/sync/profile_sync_service_unittest.cc
|
| +++ b/chrome/browser/sync/profile_sync_service_unittest.cc
|
| @@ -160,11 +160,11 @@ ACTION_P(ReturnNewMockHostCollectDeleteDirParam, delete_dir_param) {
|
| delete_dir_param);
|
| }
|
|
|
| -KeyedService* BuildFakeProfileInvalidationProvider(
|
| +scoped_ptr<KeyedService> BuildFakeProfileInvalidationProvider(
|
| content::BrowserContext* context) {
|
| - return new invalidation::ProfileInvalidationProvider(
|
| + return make_scoped_ptr(new invalidation::ProfileInvalidationProvider(
|
| scoped_ptr<invalidation::InvalidationService>(
|
| - new invalidation::FakeInvalidationService));
|
| + new invalidation::FakeInvalidationService)));
|
| }
|
|
|
| // A test harness that uses a real ProfileSyncService and in most cases a
|
|
|