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 e532670190f77722ec7c91dde98b7b54d088977f..2eb5239b509dbdaf0e992c8e5f74f9e114f405f5 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLElement.cpp |
@@ -463,6 +463,8 @@ void HTMLElement::ParseAttribute(const AttributeModificationParams& params) { |
DirAttributeChanged(params.new_value); |
} else if (params.name == langAttr) { |
PseudoStateChanged(CSSSelector::kPseudoLang); |
+ } else if (params.name == inertAttr) { |
+ UseCounter::Count(GetDocument(), UseCounter::kInertAttribute); |
} else { |
const AtomicString& event_name = EventNameForAttributeName(params.name); |
if (!event_name.IsNull()) { |