| 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 40955b3878b39083a55d2b8a66191bb00e40dad8..b73ee051f93638fc155300776afc08d881ab8afe 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;
|
|
|