Index: content/test/test_web_contents.h |
diff --git a/content/test/test_web_contents.h b/content/test/test_web_contents.h |
index e42abfef21aeb80b94fc07b610b768505ff73457..9afa72dc9a13c58fd003ef532f58be73deae7568 100644 |
--- a/content/test/test_web_contents.h |
+++ b/content/test/test_web_contents.h |
@@ -51,10 +51,6 @@ class TestWebContents : public WebContentsImpl, public WebContentsTester { |
return GetRenderManager()->cross_navigation_pending_; |
} |
- // 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. |
virtual bool CreateRenderViewForRenderManager( |
RenderViewHost* render_view_host, |
@@ -67,9 +63,6 @@ class TestWebContents : public WebContentsImpl, public WebContentsTester { |
// TestWebContents. The caller owns the returned object. |
virtual WebContents* Clone() OVERRIDE; |
- // Set by individual tests. |
- bool transition_cross_site; |
- |
// Allow mocking of the RenderViewHostDelegateView. |
virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; |
void set_delegate_view(RenderViewHostDelegateView* view) { |