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); |