Index: content/shell/shell.cc |
diff --git a/content/shell/shell.cc b/content/shell/shell.cc |
index 50e8c2bebd3c8d5b9a58ba87049492f2ead944a9..53db56c53729c0e249759360256c8a9ba6f592f4 100644 |
--- a/content/shell/shell.cc |
+++ b/content/shell/shell.cc |
@@ -153,9 +153,11 @@ void Shell::DidFinishLoad(int64 frame_id, |
return; |
if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) |
return; |
- RenderViewHost* render_view_host = tab_contents_->GetRenderViewHost(); |
+ RenderViewHostImpl* render_view_host = |
+ static_cast<RenderViewHostImpl*>(tab_contents_->GetRenderViewHost()); |
render_view_host->Send( |
- new ShellViewMsg_CaptureTextDump(render_view_host->routing_id(), false)); |
+ new ShellViewMsg_CaptureTextDump(render_view_host->GetRoutingID(), |
+ false)); |
} |
} // namespace content |