| 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,
|
|
|