Index: third_party/WebKit/Source/core/dom/SecurityContext.h |
diff --git a/third_party/WebKit/Source/core/dom/SecurityContext.h b/third_party/WebKit/Source/core/dom/SecurityContext.h |
index f3114eac1c06d08d739ffb793ca5e1885da0994f..48199a1b09dfed9647a74a6bfd431d2ca9a04663 100644 |
--- a/third_party/WebKit/Source/core/dom/SecurityContext.h |
+++ b/third_party/WebKit/Source/core/dom/SecurityContext.h |
@@ -93,9 +93,9 @@ class CORE_EXPORT SecurityContext : public GarbageCollectedMixin { |
void enforceSuborigin(const Suborigin&); |
FeaturePolicy* getFeaturePolicy() const { return m_featurePolicy.get(); } |
- void setFeaturePolicy(std::unique_ptr<FeaturePolicy> newPolicy) { |
- m_featurePolicy = std::move(newPolicy); |
- } |
+ void setFeaturePolicyFromHeader(const String& headerValue, |
+ SecurityContext* parentSecurityContext, |
+ Vector<String>* messages = nullptr); |
protected: |
SecurityContext(); |