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

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

Issue 1202593002: Move browser-to-renderer opener plumbing to frame routing IDs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@opener-create-opener-render-views
Patch Set: More cleanup Created 5 years, 5 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 08e220bde7322812df0dad094a7d10990a28fc75..c54e4e9dce2bc4305d2992a9ba2fd87f66c98991 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -274,7 +274,7 @@ SiteInstanceImpl* RenderViewHostImpl::GetSiteInstance() const {
}
bool RenderViewHostImpl::CreateRenderView(
- int opener_route_id,
+ int opener_frame_route_id,
int proxy_route_id,
int32 max_page_id,
const FrameReplicationState& replicated_frame_state,
@@ -316,7 +316,7 @@ bool RenderViewHostImpl::CreateRenderView(
params.session_storage_namespace_id =
delegate_->GetSessionStorageNamespace(instance_.get())->id();
// Ensure the RenderView sets its opener correctly.
- params.opener_route_id = opener_route_id;
+ params.opener_frame_route_id = opener_frame_route_id;
params.swapped_out = !is_active_;
params.replicated_frame_state = replicated_frame_state;
params.proxy_routing_id = proxy_route_id;

Powered by Google App Engine
This is Rietveld 408576698