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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 1312643002: Plumb opener information when creating RenderFrames and RenderFrameProxies for subframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@opener-CreateOpenerProxiesIfNeeded
Patch Set: Add NewFrameProxy plumbing and test Created 5 years, 4 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/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index e10b26b9fd9327fb005e850d8028027495fcd73a..73c698b9503ac9ef83ee81527a64f5214ef36a29 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -1633,16 +1633,19 @@ void RenderThreadImpl::OnCreateNewFrame(FrameMsg_NewFrame_Params params) {
RenderFrameImpl::CreateFrame(
params.routing_id, params.parent_routing_id,
params.previous_sibling_routing_id, params.proxy_routing_id,
- params.replication_state, compositor_deps, params.widget_params);
+ params.opener_routing_id, params.replication_state, compositor_deps,
+ params.widget_params);
}
void RenderThreadImpl::OnCreateNewFrameProxy(
int routing_id,
int parent_routing_id,
+ int opener_routing_id,
int render_view_routing_id,
const FrameReplicationState& replicated_state) {
RenderFrameProxy::CreateFrameProxy(routing_id, parent_routing_id,
- render_view_routing_id, replicated_state);
+ opener_routing_id, render_view_routing_id,
+ replicated_state);
}
void RenderThreadImpl::OnSetZoomLevelForCurrentURL(const std::string& scheme,

Powered by Google App Engine
This is Rietveld 408576698