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

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: Fix typo 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 2fd66b5e21463192e2d04d937f144b76e2e459d0..6899ac9ef8b222ab1101a6a4198d4090762d2fe8 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -706,6 +706,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
@@ -717,7 +718,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