| Index: third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.h
|
| diff --git a/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.h b/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.h
|
| index 21507313066c6ee10166e2c25c2f6987ffe7d6bc..8c7f2a4d0240c5e8204a28bfd3585d605717c107 100644
|
| --- a/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.h
|
| +++ b/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.h
|
| @@ -128,8 +128,9 @@ class PLATFORM_EXPORT FeaturePolicy final {
|
| RefPtr<SecurityOrigin>);
|
|
|
| // Sets the declared policy from the Feature-Policy HTTP header. If the header
|
| - // cannot be parsed, errors will be appended to the |messages| vector.
|
| - void setHeaderPolicy(const String&, Vector<String>& messages);
|
| + // cannot be parsed, errors will be appended to the |messages| vector, if not
|
| + // null.
|
| + void setHeaderPolicy(const String&, Vector<String>* messages);
|
|
|
| // Returns whether or not the given feature is enabled by this policy.
|
| bool isFeatureEnabledForOrigin(const Feature&, const SecurityOrigin&) const;
|
|
|