Index: content/browser/download/mhtml_generation_browsertest.cc |
diff --git a/content/browser/download/mhtml_generation_browsertest.cc b/content/browser/download/mhtml_generation_browsertest.cc |
index 15440bf71062754f57cfbad1415f3950664bf4b3..14baaa67f374e2e62c6f5cc8292bdd78ec836adc 100644 |
--- a/content/browser/download/mhtml_generation_browsertest.cc |
+++ b/content/browser/download/mhtml_generation_browsertest.cc |
@@ -56,7 +56,7 @@ IN_PROC_BROWSER_TEST_F(MHTMLGenerationTest, GenerateMHTML) { |
ui_test_utils::NavigateToURL(browser(), |
test_server()->GetURL("files/google/google.html")); |
- WebContents* web_contents = browser()->GetSelectedWebContents(); |
+ WebContents* web_contents = browser()->GetActiveWebContents(); |
web_contents->GenerateMHTML(path, |
base::Bind(&MHTMLGenerationTest::MHTMLGenerated, |
this)); |