Index: third_party/WebKit/Source/core/dom/SecurityContext.cpp |
diff --git a/third_party/WebKit/Source/core/dom/SecurityContext.cpp b/third_party/WebKit/Source/core/dom/SecurityContext.cpp |
index b4c89ae0d116cd08d630aaed42cf2490554b5df5..1ca14db925af94b2617274f91f6160fcdc484b7d 100644 |
--- a/third_party/WebKit/Source/core/dom/SecurityContext.cpp |
+++ b/third_party/WebKit/Source/core/dom/SecurityContext.cpp |
@@ -103,11 +103,9 @@ void SecurityContext::enforceSuborigin(const Suborigin& suborigin) { |
void SecurityContext::initializeFeaturePolicy( |
const WebParsedFeaturePolicy& parsedHeader, |
+ const WebParsedFeaturePolicy& containerPolicy, |
const WebFeaturePolicy* parentFeaturePolicy) { |
DCHECK(!m_featurePolicy); |
- // TODO(iclelland): Use the frame owner properties here to pass the frame |
- // policy, if it exists. |
- WebParsedFeaturePolicy containerPolicy; |
WebSecurityOrigin origin = WebSecurityOrigin(m_securityOrigin); |
m_featurePolicy.reset(Platform::current()->createFeaturePolicy( |
parentFeaturePolicy, containerPolicy, parsedHeader, origin)); |