Index: third_party/WebKit/Source/core/html/HTMLUnknownElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLUnknownElement.cpp b/third_party/WebKit/Source/core/html/HTMLUnknownElement.cpp |
index d87b3e4a5e3a0b194420d12e1251c96b78590145..2af0d17c328e9303893a92cdbe0a40ded93a30ba 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLUnknownElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLUnknownElement.cpp |
@@ -15,15 +15,6 @@ HTMLUnknownElement::HTMLUnknownElement(const QualifiedName& tag_name, |
UseCounter::Count(document, UseCounter::kDataElement); |
else if (tag_name.LocalName() == "time") |
UseCounter::Count(document, UseCounter::kTimeElement); |
- else if (tag_name.LocalName() == "menuitem") |
- UseCounter::Count(document, UseCounter::kMenuItemElement); |
-} |
- |
-void HTMLUnknownElement::ParseAttribute( |
- const AttributeModificationParams& params) { |
- if (params.name == HTMLNames::iconAttr && HasTagName(HTMLNames::menuitemTag)) |
- UseCounter::Count(GetDocument(), UseCounter::kMenuItemElementIconAttribute); |
- HTMLElement::ParseAttribute(params); |
} |
} // namespace blink |