Index: components/autofill/core/browser/autofill_metrics_unittest.cc |
diff --git a/components/autofill/core/browser/autofill_metrics_unittest.cc b/components/autofill/core/browser/autofill_metrics_unittest.cc |
index a5e58b598e5fee6fdfca116b67ab0386a12dda30..8b8325525eb6c9cd1bd9c72113b4dcdfc6c89658 100644 |
--- a/components/autofill/core/browser/autofill_metrics_unittest.cc |
+++ b/components/autofill/core/browser/autofill_metrics_unittest.cc |
@@ -287,7 +287,6 @@ void AutofillMetricsTest::SetUp() { |
// Ensure Mac OS X does not pop up a modal dialog for the Address Book. |
autofill::test::DisableSystemServices(profile()); |
- profile()->CreateRequestContext(); |
PersonalDataManagerFactory::GetInstance()->SetTestingFactory(profile(), NULL); |
TabAutofillManagerDelegate::CreateForWebContents(web_contents()); |
@@ -315,7 +314,6 @@ void AutofillMetricsTest::TearDown() { |
autofill_manager_.reset(); |
autofill_driver_.reset(); |
personal_data_.reset(); |
- profile()->ResetRequestContext(); |
ChromeRenderViewHostTestHarness::TearDown(); |
} |