diff options
Diffstat (limited to 'chrome/browser/ui/webui/web_ui_unittest.cc')
-rw-r--r-- | chrome/browser/ui/webui/web_ui_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/ui/webui/web_ui_unittest.cc b/chrome/browser/ui/webui/web_ui_unittest.cc index ee231e1..cc41f1a 100644 --- a/chrome/browser/ui/webui/web_ui_unittest.cc +++ b/chrome/browser/ui/webui/web_ui_unittest.cc @@ -64,10 +64,10 @@ class WebUITest : public TabContentsWrapperTestHarness { // process transition, and our RVH pointer will be the "committed" one. // In the second call to this function from WebUIToStandard, it won't // actually be pending, which is the point of this test. - if (contents->render_manager()->pending_render_view_host()) { + if (contents->render_manager_for_testing()->pending_render_view_host()) { static_cast<TestRenderViewHost*>( - contents->render_manager()->pending_render_view_host())->SendNavigate( - page_id + 1, next_url); + contents->render_manager_for_testing()-> + pending_render_view_host())->SendNavigate(page_id + 1, next_url); } else { static_cast<TestRenderViewHost*>( contents->render_view_host())->SendNavigate(page_id + 1, next_url); |