| Index: third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp b/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp
|
| index 5f44a25840433092f131e9be0c6253a3b080c8b9..6f13781c84c15f403811150eaae2479a0c74c964 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp
|
| @@ -113,9 +113,12 @@ void HTMLIFrameElement::parseAttribute(
|
| UseCounter::count(document(), UseCounter::SandboxViaIFrame);
|
| } else if (name == referrerpolicyAttr) {
|
| m_referrerPolicy = ReferrerPolicyDefault;
|
| - if (!value.isNull())
|
| + if (!value.isNull()) {
|
| SecurityPolicy::referrerPolicyFromStringWithLegacyKeywords(
|
| value, &m_referrerPolicy);
|
| + UseCounter::count(document(),
|
| + UseCounter::HTMLIFrameElementReferrerPolicyAttribute);
|
| + }
|
| } else if (name == allowfullscreenAttr) {
|
| bool oldAllowFullscreen = m_allowFullscreen;
|
| m_allowFullscreen = !value.isNull();
|
|
|