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

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

Issue 1141283002: Replicate whether a frame is in a document or shadow tree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Oops Created 5 years, 7 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_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index 9929fa143cba1ea368dc66288fbb2ce07498793a..db8c09458eeed2da92048b055e670146b65da59c 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -707,6 +707,7 @@ void RenderFrameHostImpl::OnAddMessageToConsole(
}
void RenderFrameHostImpl::OnCreateChildFrame(int new_routing_id,
+ blink::WebTreeScopeType scope,
const std::string& frame_name,
SandboxFlags sandbox_flags) {
// It is possible that while a new RenderFrameHost was committed, the
@@ -718,7 +719,7 @@ void RenderFrameHostImpl::OnCreateChildFrame(int new_routing_id,
RenderFrameHostImpl* new_frame =
frame_tree_->AddFrame(frame_tree_node_, GetProcess()->GetID(),
- new_routing_id, frame_name, sandbox_flags);
+ new_routing_id, scope, frame_name, sandbox_flags);
if (!new_frame)
return;

Powered by Google App Engine
This is Rietveld 408576698