Index: third_party/WebKit/Source/core/html/HTMLElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLElement.cpp b/third_party/WebKit/Source/core/html/HTMLElement.cpp |
index deaffb100f9afb20f25292e1f32f9b3112c24a82..51603dc366766b85c32df502eb4c7a640e31834a 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLElement.cpp |
@@ -457,6 +457,8 @@ void HTMLElement::parseAttribute(const AttributeModificationParams& params) { |
dirAttributeChanged(params.newValue); |
} else if (params.name == langAttr) { |
pseudoStateChanged(CSSSelector::PseudoLang); |
+ } else if (params.name == inertAttr) { |
+ UseCounter::count(document(), UseCounter::InertAttribute); |
} else { |
const AtomicString& eventName = eventNameForAttributeName(params.name); |
if (!eventName.isNull()) { |