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

Unified Diff: content/renderer/render_frame_proxy.cc

Issue 886923004: Update createRemoteChild to pass SandboxFlags (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_proxy.cc
diff --git a/content/renderer/render_frame_proxy.cc b/content/renderer/render_frame_proxy.cc
index 5af5f570fc8c0c946b22c1be6f96df2904087efe..31b5d355120276f1be8159c9902ca0357aeba1fa 100644
--- a/content/renderer/render_frame_proxy.cc
+++ b/content/renderer/render_frame_proxy.cc
@@ -74,7 +74,10 @@ RenderFrameProxy* RenderFrameProxy::CreateFrameProxy(
RenderFrameProxy* parent =
RenderFrameProxy::FromRoutingID(parent_routing_id);
web_frame = parent->web_frame()->createRemoteChild(
- blink::WebString::fromUTF8(replicated_state.name), proxy.get());
+ blink::WebString::fromUTF8(replicated_state.name),
+ RenderFrameImpl::ContentToWebSandboxFlags(
+ replicated_state.sandbox_flags),
+ proxy.get());
render_view = parent->render_view();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698