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

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

Issue 692973005: Pass origin information for remote frame creation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 6f98bf5e08c1334fe2aa26e350f60493fd2e6454..3306b25527ca39aef497ac84355d794f2497ac92 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -290,6 +290,9 @@ bool RenderViewHostImpl::CreateRenderView(
params.window_was_created_with_opener = window_was_created_with_opener;
params.next_page_id = next_page_id;
GetWebScreenInfo(&params.screen_info);
+ if (!is_active_)
Charlie Reis 2014/11/13 18:00:57 Style: Needs braces if the body doesn't fit on one
alexmos 2014/11/18 18:25:32 Done.
+ params.remote_frame_state = ((RenderFrameHostImpl*)GetMainFrame())->
dcheng 2014/11/12 22:16:43 Use static_cast here.
alexmos 2014/11/18 18:25:32 Done.
+ frame_tree_node()->current_replication_state();
Send(new ViewMsg_New(params));

Powered by Google App Engine
This is Rietveld 408576698