| Index: third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| index 76c4a08762bf382e7fb8f6f4341ad0b525bcd565..885ac530815e96cc5d294fdc07b6253fcc498f8e 100644
|
| --- a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| @@ -727,6 +727,8 @@ void CSPDirectiveList::parseReferrer(const String& name, const String& value)
|
| {
|
| m_didSetReferrerPolicy = true;
|
|
|
| + UseCounter::count(m_policy->document(), UseCounter::CSPReferrerDirective);
|
| +
|
| if (value.isEmpty()) {
|
| m_policy->reportInvalidReferrer(value);
|
| m_referrerPolicy = ReferrerPolicyNever;
|
|
|