| Index: third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp b/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp
|
| index 70bb5a0e757a2c75b81ca80daa48adb2a86e2f3f..332d249139ec932071b8f35d36519e08f88bf59b 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp
|
| @@ -412,8 +412,9 @@ void HTMLAnchorElement::handleClick(Event* event) {
|
|
|
| ReferrerPolicy policy;
|
| if (hasAttribute(referrerpolicyAttr) &&
|
| - SecurityPolicy::referrerPolicyFromStringWithLegacyKeywords(
|
| - fastGetAttribute(referrerpolicyAttr), &policy) &&
|
| + SecurityPolicy::referrerPolicyFromString(
|
| + fastGetAttribute(referrerpolicyAttr),
|
| + SupportReferrerPolicyLegacyKeywords, &policy) &&
|
| !hasRel(RelationNoReferrer)) {
|
| UseCounter::count(document(),
|
| UseCounter::HTMLAnchorElementReferrerPolicyAttribute);
|
|
|