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

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 2383853003: Move FrameMsg_NewFrame/NewFrameProxy to mojom (Closed)
Patch Set: Move FrameMsg_NewFrame/NewFrameProxy to mojom Created 4 years, 2 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/browser/renderer_host/render_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index 71387499de289f7ce05ab54163e15ef4184ab48c..050a8554ea7dec1fd000696e8e17908860030280 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -377,9 +377,8 @@ bool RenderViewHostImpl::CreateRenderView(
GetWidget()->GetResizeParams(&params->initial_size);
GetWidget()->SetInitialRenderSizeParams(params->initial_size);
- RenderProcessHostImpl* process =
- static_cast<RenderProcessHostImpl*>(GetProcess());
- process->GetRendererInterface()->CreateView(std::move(params));
+ RenderProcessHostImpl::GetRendererInterface(GetProcess())->CreateView(
+ std::move(params));
// If the RWHV has not yet been set, the surface ID namespace will get
// passed down by the call to SetView().
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/browser/site_per_process_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698