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

Unified Diff: content/browser/frame_host/render_frame_proxy_host.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/frame_host/render_frame_proxy_host.cc
diff --git a/content/browser/frame_host/render_frame_proxy_host.cc b/content/browser/frame_host/render_frame_proxy_host.cc
index 34f364fb4c58d6467cca527e8f49ad475ef08ea1..43d24c794475931d17245b9488b9553b843a048a 100644
--- a/content/browser/frame_host/render_frame_proxy_host.cc
+++ b/content/browser/frame_host/render_frame_proxy_host.cc
@@ -184,14 +184,11 @@ bool RenderFrameProxyHost::InitRenderFrameProxy() {
site_instance_.get());
}
- Send(new FrameMsg_NewFrameProxy(routing_id_,
- frame_tree_node_->frame_tree()
- ->GetRenderViewHost(site_instance_.get())
- ->GetRoutingID(),
- opener_routing_id,
- parent_routing_id,
- frame_tree_node_
- ->current_replication_state()));
+ int view_routing_id = frame_tree_node_->frame_tree()
+ ->GetRenderViewHost(site_instance_.get())->GetRoutingID();
+ RenderProcessHostImpl::GetRendererInterface(GetProcess())->CreateFrameProxy(
+ routing_id_, view_routing_id, opener_routing_id, parent_routing_id,
+ frame_tree_node_->current_replication_state());
render_frame_proxy_created_ = true;
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/renderer_host/render_process_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698