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

Unified Diff: content/browser/frame_host/render_frame_proxy_host.cc

Issue 2383853003: Move FrameMsg_NewFrame/NewFrameProxy to mojom (Closed)
Patch Set: Created 4 years, 3 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..3a11b57bb1a2d5edf161a2acad33f61d74340b66 100644
--- a/content/browser/frame_host/render_frame_proxy_host.cc
+++ b/content/browser/frame_host/render_frame_proxy_host.cc
@@ -184,14 +184,12 @@ 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();
+ static_cast<RenderProcessHostImpl*>(GetProcess())->GetRendererInterface()
ncarter (slow) 2016/09/30 23:35:14 RPH->RPHI is not a safe cast; very similar to the
+ ->CreateFrameProxy(routing_id_, view_routing_id, opener_routing_id,
+ parent_routing_id,
+ frame_tree_node_->current_replication_state());
render_frame_proxy_created_ = true;

Powered by Google App Engine
This is Rietveld 408576698