Index: content/test/test_web_contents.h |
diff --git a/content/test/test_web_contents.h b/content/test/test_web_contents.h |
index 55024b8a705107c9c0775150ccac11043aabc766..367dc267e8fa776b04808df1bd83775fa345acc3 100644 |
--- a/content/test/test_web_contents.h |
+++ b/content/test/test_web_contents.h |
@@ -48,7 +48,7 @@ class TestWebContents : public WebContentsImpl, public WebContentsTester { |
// State accessor. |
bool cross_navigation_pending() { |
- return render_manager_.cross_navigation_pending_; |
+ return GetRenderManager()->cross_navigation_pending_; |
} |
// Overrides WebContentsImpl::ShouldTransitionCrossSite so that we can test |