Index: content/browser/web_contents/test_web_contents.h |
diff --git a/content/browser/web_contents/test_web_contents.h b/content/browser/web_contents/test_web_contents.h |
index fb0ef7a815167c3cb1cd37ad4ff69a3a9d2a3c3c..7267cab110354b1421c86c812138d4eaa5ea0ffe 100644 |
--- a/content/browser/web_contents/test_web_contents.h |
+++ b/content/browser/web_contents/test_web_contents.h |
@@ -19,9 +19,9 @@ class RenderViewHost; |
class TestRenderViewHost; |
class WebContentsTester; |
-// Subclass TabContents to ensure it creates TestRenderViewHosts |
+// Subclass WebContentsImpl to ensure it creates TestRenderViewHosts |
// and does not do anything involving views. |
-class TestWebContents : public TabContents, public WebContentsTester { |
+class TestWebContents : public WebContentsImpl, public WebContentsTester { |
public: |
TestWebContents(BrowserContext* browser_context, SiteInstance* instance); |
virtual ~TestWebContents(); |
@@ -50,8 +50,8 @@ class TestWebContents : public TabContents, public WebContentsTester { |
return render_manager_.cross_navigation_pending_; |
} |
- // Overrides TabContents::ShouldTransitionCrossSite so that we can test both |
- // alternatives without using command-line switches. |
+ // Overrides WebContentsImpl::ShouldTransitionCrossSite so that we can test |
+ // both alternatives without using command-line switches. |
bool ShouldTransitionCrossSite() { return transition_cross_site; } |
// Prevent interaction with views. |