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 636435e0966658a27dbee3d49d704ec068d9762e..76569a78e98163748dd97e34b1b1695184d98665 100644 |
--- a/chrome/browser/sync/profile_sync_service_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_service_unittest.cc |
@@ -195,8 +195,10 @@ TEST_F(ProfileSyncServiceTest, InitialState) { |
// Tests that the sync service doesn't forget to notify observers about |
// setup state. |
TEST(ProfileSyncServiceTestBasic, SetupInProgress) { |
+ scoped_ptr<TestingProfile> profile(new TestingProfile()); |
ProfileSyncService service( |
- NULL, NULL, NULL, NULL, ProfileSyncService::MANUAL_START); |
+ NULL, profile.get(), NULL, NULL, |
+ ProfileSyncService::MANUAL_START); |
TestProfileSyncServiceObserver observer(&service); |
service.AddObserver(&observer); |
service.SetSetupInProgress(true); |