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 69d1fc0537bfa0aa545342e1c9574c66fb19a3f2..0362e82ecb438c53a8bb5ad533043f64bfa83008 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLElement.cpp |
@@ -462,6 +462,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()) { |