Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1424)

Unified Diff: content/browser/download/mhtml_generation_browsertest.cc

Issue 10106022: TabContents -> WebContentsImpl, part 19. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 84877b181c8fd46e960e3fd9ea9bb62549a6f0a1..f6343792f964b2f827f09238dd0b46cc2ed54081 100644
--- a/content/browser/download/mhtml_generation_browsertest.cc
+++ b/content/browser/download/mhtml_generation_browsertest.cc
@@ -56,9 +56,10 @@ IN_PROC_BROWSER_TEST_F(MHTMLGenerationTest, GenerateMHTML) {
ui_test_utils::NavigateToURL(browser(),
test_server()->GetURL("files/google/google.html"));
- WebContents* tab = browser()->GetSelectedWebContents();
- tab->GenerateMHTML(path,
- base::Bind(&MHTMLGenerationTest::MHTMLGenerated, this));
+ WebContents* web_contents = browser()->GetSelectedWebContents();
+ web_contents->GenerateMHTML(path,
+ base::Bind(&MHTMLGenerationTest::MHTMLGenerated,
+ this));
// Block until the MHTML is generated.
ui_test_utils::RunMessageLoop();
« no previous file with comments | « content/browser/child_process_security_policy_browsertest.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698