| Index: third_party/WebKit/Source/core/html/HTMLImageElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLImageElement.cpp b/third_party/WebKit/Source/core/html/HTMLImageElement.cpp
|
| index 84a2646a0ba38acb65324f0e90636061ac38ca3b..e779e7be54a631ed36c838a0d943ece4d8e03b2b 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLImageElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLImageElement.cpp
|
| @@ -265,8 +265,9 @@ void HTMLImageElement::parseAttribute(
|
| } else if (name == referrerpolicyAttr) {
|
| m_referrerPolicy = ReferrerPolicyDefault;
|
| if (!params.newValue.isNull()) {
|
| - SecurityPolicy::referrerPolicyFromStringWithLegacyKeywords(
|
| - params.newValue, &m_referrerPolicy);
|
| + SecurityPolicy::referrerPolicyFromString(
|
| + params.newValue, SupportReferrerPolicyLegacyKeywords,
|
| + &m_referrerPolicy);
|
| UseCounter::count(document(),
|
| UseCounter::HTMLImageElementReferrerPolicyAttribute);
|
| }
|
|
|