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

Unified Diff: chrome/browser/download/download_request_limiter_unittest.cc

Issue 10535120: TabContentsWrapper -> TabContents, part 43. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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: chrome/browser/download/download_request_limiter_unittest.cc
diff --git a/chrome/browser/download/download_request_limiter_unittest.cc b/chrome/browser/download/download_request_limiter_unittest.cc
index 3dd27242cad132f762aa1509b7fbac914caf4cfb..c59b2e1a54bc1cf41c127f47d12523c1d204f221 100644
--- a/chrome/browser/download/download_request_limiter_unittest.cc
+++ b/chrome/browser/download/download_request_limiter_unittest.cc
@@ -238,8 +238,7 @@ TEST_F(DownloadRequestLimiterTest,
// RenderViewHostTestHarness::CreateTestWebContents() directly so that there
// will be no TabContents for web_contents.
scoped_ptr<WebContents> web_contents(CreateTestWebContents());
- TabContents* tab_contents =
- TabContents::GetOwningTabContentsForWebContents(web_contents.get());
+ TabContents* tab_contents = TabContents::FromWebContents(web_contents.get());
ASSERT_TRUE(tab_contents == NULL);
// DRL won't try to make an infobar if it doesn't have a TCW, and we want to
// test that it will Cancel() instead of prompting when it doesn't have a TCW,
« no previous file with comments | « chrome/browser/download/download_request_limiter.cc ('k') | chrome/browser/external_tab/external_tab_container_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698