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 4a6c560ea063a533526c0d43ba2c9914f5621d33..dfce6551911360c73671df76b692b549be74aa97 100644 |
--- a/third_party/WebKit/Source/core/dom/SecurityContext.cpp |
+++ b/third_party/WebKit/Source/core/dom/SecurityContext.cpp |
@@ -100,13 +100,12 @@ void SecurityContext::enforceSuborigin(const Suborigin& suborigin) { |
} |
void SecurityContext::setFeaturePolicyFromHeader( |
- const String& headerValue, |
- FeaturePolicy* parentFeaturePolicy, |
- Vector<String>* messages) { |
+ const WebParsedFeaturePolicy& parsedHeader, |
+ FeaturePolicy* parentFeaturePolicy) { |
DCHECK(!m_featurePolicy); |
m_featurePolicy = FeaturePolicy::createFromParentPolicy(parentFeaturePolicy, |
m_securityOrigin); |
- m_featurePolicy->setHeaderPolicy(headerValue, messages); |
+ m_featurePolicy->setHeaderPolicy(parsedHeader); |
} |
} // namespace blink |