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 593e248aed59e5357818ea4724534f0b5dcea4a8..6070882d372011627c594ef7124330b1c0c3a0b8 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.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()) { |