| Index: chrome/browser/sync/profile_sync_service_mock.cc
|
| diff --git a/chrome/browser/sync/profile_sync_service_mock.cc b/chrome/browser/sync/profile_sync_service_mock.cc
|
| index 35d12c35ff8da34e0e278059225ba93980c69ecb..bfa9b018a9a4d053afbe9167c9cc61325b39db9c 100644
|
| --- a/chrome/browser/sync/profile_sync_service_mock.cc
|
| +++ b/chrome/browser/sync/profile_sync_service_mock.cc
|
| @@ -48,7 +48,8 @@ TestingProfile* ProfileSyncServiceMock::MakeSignedInTestingProfile() {
|
| }
|
|
|
| // static
|
| -KeyedService* ProfileSyncServiceMock::BuildMockProfileSyncService(
|
| +scoped_ptr<KeyedService> ProfileSyncServiceMock::BuildMockProfileSyncService(
|
| content::BrowserContext* profile) {
|
| - return new ProfileSyncServiceMock(static_cast<Profile*>(profile));
|
| + return make_scoped_ptr(
|
| + new ProfileSyncServiceMock(static_cast<Profile*>(profile)));
|
| }
|
|
|