| Index: third_party/WebKit/Source/core/html/HTMLMenuItemElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLMenuItemElement.cpp b/third_party/WebKit/Source/core/html/HTMLMenuItemElement.cpp
|
| index d3c1267408474e903d48be8f0c4319b4544e242c..b06ca84e0b5eec91465532636cf85999760716a7 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLMenuItemElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLMenuItemElement.cpp
|
| @@ -22,6 +22,13 @@ bool HTMLMenuItemElement::isURLAttribute(const Attribute& attribute) const {
|
| return attribute.name() == iconAttr || HTMLElement::isURLAttribute(attribute);
|
| }
|
|
|
| +void HTMLMenuItemElement::parseAttribute(
|
| + const AttributeModificationParams& params) {
|
| + if (params.name == iconAttr)
|
| + UseCounter::count(document(), UseCounter::MenuItemElementIconAttribute);
|
| + HTMLElement::parseAttribute(params);
|
| +}
|
| +
|
| void HTMLMenuItemElement::defaultEventHandler(Event* event) {
|
| if (event->type() == EventTypeNames::click) {
|
| if (equalIgnoringCase(fastGetAttribute(typeAttr), "checkbox")) {
|
|
|