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

Unified Diff: chrome/browser/renderer_host/web_cache_manager_browsertest.cc

Issue 9085006: Replace Browser::GetTabContentsAt with GetWebContentsAt and update all callers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac yet again Created 8 years, 12 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/renderer_host/web_cache_manager_browsertest.cc
===================================================================
--- chrome/browser/renderer_host/web_cache_manager_browsertest.cc (revision 116244)
+++ chrome/browser/renderer_host/web_cache_manager_browsertest.cc (working copy)
@@ -11,10 +11,12 @@
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "content/browser/renderer_host/render_process_host_impl.h"
-#include "content/browser/tab_contents/tab_contents.h"
+#include "content/public/browser/web_contents.h"
#include "content/public/common/result_codes.h"
#include "testing/gtest/include/gtest/gtest.h"
+using content::WebContents;
+
class WebCacheManagerBrowserTest : public InProcessBrowserTest {
};
@@ -31,7 +33,7 @@
browser()->NewTab();
ui_test_utils::NavigateToURL(browser(), url);
- TabContents* tab = browser()->GetTabContentsAt(0);
+ WebContents* tab = browser()->GetWebContentsAt(0);
ASSERT_TRUE(tab != NULL);
base::KillProcess(tab->GetRenderProcessHost()->GetHandle(),
content::RESULT_CODE_KILLED, true);
« no previous file with comments | « chrome/browser/prerender/prerender_contents.cc ('k') | chrome/browser/sessions/session_restore_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698