| 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 09f029acb26e8808c5bbc13fe093258a9f7975e2..572632ea866f09c4a55864e78909173b722ada74 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLUnknownElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLUnknownElement.cpp
|
| @@ -19,4 +19,11 @@ HTMLUnknownElement::HTMLUnknownElement(const QualifiedName& tagName,
|
| UseCounter::count(document, UseCounter::MenuItemElement);
|
| }
|
|
|
| +void HTMLUnknownElement::parseAttribute(
|
| + const AttributeModificationParams& params) {
|
| + if (params.name == HTMLNames::iconAttr && hasTagName(HTMLNames::menuitemTag))
|
| + UseCounter::count(document(), UseCounter::MenuItemElementIconAttribute);
|
| + HTMLElement::parseAttribute(params);
|
| +}
|
| +
|
| } // namespace blink
|
|
|