Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(521)

Unified Diff: content/shell/shell.cc

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/layout_test_controller_bindings.cc ('k') | content/shell/shell_render_view_host_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « content/shell/layout_test_controller_bindings.cc ('k') | content/shell/shell_render_view_host_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698