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

Unified Diff: Source/core/html/HTMLFrameOwnerElement.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
« no previous file with comments | « no previous file | Source/core/loader/EmptyClients.h » ('j') | Source/core/loader/FrameLoadRequest.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLFrameOwnerElement.cpp
diff --git a/Source/core/html/HTMLFrameOwnerElement.cpp b/Source/core/html/HTMLFrameOwnerElement.cpp
index b79cd40503526fbd7d2cf9b197af874d957287d5..495464efca98b54403acdb89f046d6354292f06b 100644
--- a/Source/core/html/HTMLFrameOwnerElement.cpp
+++ b/Source/core/html/HTMLFrameOwnerElement.cpp
@@ -259,7 +259,7 @@ bool HTMLFrameOwnerElement::loadOrRedirectSubframe(const KURL& url, const Atomic
if (!SubframeLoadingDisabler::canLoadFrame(*this))
return false;
- return parentFrame->loader().client()->createFrame(url, frameName, this, shouldCheckContentSecurityPolicy);
+ return parentFrame->loader().client()->createFrame(url, frameName, this, shouldCheckContentSecurityPolicy, m_sandboxFlags);
}
void HTMLFrameOwnerElement::trace(Visitor* visitor)
« no previous file with comments | « no previous file | Source/core/loader/EmptyClients.h » ('j') | Source/core/loader/FrameLoadRequest.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698