Index: chrome/browser/sync/profile_sync_service_password_unittest.cc |
diff --git a/chrome/browser/sync/profile_sync_service_password_unittest.cc b/chrome/browser/sync/profile_sync_service_password_unittest.cc |
index 22686b450fd68c8009624599c892b913f64813a9..bfd6191d1590ac4c7a9e0c27d0083db23f0530df 100644 |
--- a/chrome/browser/sync/profile_sync_service_password_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_service_password_unittest.cc |
@@ -154,8 +154,7 @@ class ProfileSyncServicePasswordTest : public AbstractProfileSyncServiceTest { |
virtual void SetUp() { |
AbstractProfileSyncServiceTest::SetUp(); |
- profile_.reset(new ProfileMock); |
- profile_->CreateRequestContext(); |
+ profile_.reset(new ProfileMock()); |
invalidation::InvalidationServiceFactory::GetInstance()-> |
SetBuildOnlyFakeInvalidatorsForTest(true); |
password_store_ = static_cast<MockPasswordStore*>( |
@@ -168,7 +167,6 @@ class ProfileSyncServicePasswordTest : public AbstractProfileSyncServiceTest { |
password_store_->ShutdownOnUIThread(); |
ProfileSyncServiceFactory::GetInstance()->SetTestingFactory( |
profile_.get(), NULL); |
- profile_->ResetRequestContext(); |
profile_.reset(); |
AbstractProfileSyncServiceTest::TearDown(); |
} |