Index: chrome/browser/password_manager/password_generation_manager_unittest.cc |
diff --git a/chrome/browser/password_manager/password_generation_manager_unittest.cc b/chrome/browser/password_manager/password_generation_manager_unittest.cc |
index ac691d9cfec4dcd7e046f3002302093498f79752..22f20509b4193d10dc2fa2f48c55561ca7f752ba 100644 |
--- a/chrome/browser/password_manager/password_generation_manager_unittest.cc |
+++ b/chrome/browser/password_manager/password_generation_manager_unittest.cc |
@@ -44,7 +44,6 @@ class TestPasswordGenerationManager : public PasswordGenerationManager { |
class PasswordGenerationManagerTest : public ChromeRenderViewHostTestHarness { |
protected: |
virtual void SetUp() OVERRIDE { |
- |
SetThreadBundleOptions(content::TestBrowserThreadBundle::REAL_IO_THREAD); |
ChromeRenderViewHostTestHarness::SetUp(); |
@@ -56,12 +55,6 @@ class PasswordGenerationManagerTest : public ChromeRenderViewHostTestHarness { |
ChromeRenderViewHostTestHarness::TearDown(); |
} |
- virtual content::BrowserContext* CreateBrowserContext() OVERRIDE { |
- TestingProfile* profile = new TestingProfile(); |
- profile->CreateRequestContext(); |
- return profile; |
- } |
- |
void UpdateState(bool new_renderer) { |
password_generation_manager_->UpdateState(NULL, new_renderer); |
} |
@@ -77,7 +70,6 @@ class IncognitoPasswordGenerationManagerTest : |
TestingProfile::Builder builder; |
scoped_ptr<TestingProfile> profile = builder.Build(); |
profile->set_incognito(true); |
- profile->CreateRequestContext(); |
return profile.release(); |
} |
}; |