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

Unified Diff: Source/web/FrameLoaderClientImpl.cpp

Issue 838903002: Replicate sandbox flags for OOPIF (Blink part 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@iframe-sandbox-flags-part1
Patch Set: Remove old createLocalChild Created 5 years, 11 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: Source/web/FrameLoaderClientImpl.cpp
diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
index 7b4a5236e2964744cfb99e8f8b8a90f54f2b50d4..d4db5203e8cfbb053765e5c595e563c3c23b4f05 100644
--- a/Source/web/FrameLoaderClientImpl.cpp
+++ b/Source/web/FrameLoaderClientImpl.cpp
@@ -674,9 +674,10 @@ PassRefPtrWillBeRawPtr<LocalFrame> FrameLoaderClientImpl::createFrame(
const KURL& url,
const AtomicString& name,
HTMLFrameOwnerElement* ownerElement,
- ContentSecurityPolicyDisposition shouldCheckContentSecurityPolicy)
+ ContentSecurityPolicyDisposition shouldCheckContentSecurityPolicy,
+ SandboxFlags sandboxFlags)
{
- FrameLoadRequest frameRequest(m_webFrame->frame()->document(), url, name, shouldCheckContentSecurityPolicy);
+ FrameLoadRequest frameRequest(m_webFrame->frame()->document(), url, name, shouldCheckContentSecurityPolicy, sandboxFlags);
alexmos 2015/01/16 18:31:40 Instead of plumbing sandboxFlags through createFra
dcheng 2015/01/16 19:11:19 I haven't really thought about this. +japhet
Nate Chapin 2015/01/21 18:27:30 I have mixed feelings about making all of the Fram
return m_webFrame->createChildFrame(frameRequest, ownerElement);
}

Powered by Google App Engine
This is Rietveld 408576698