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

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: Ready for initial review. 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
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

Powered by Google App Engine
This is Rietveld 408576698