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 5bbec3e886aed5631db8c445c529b809d6685256..20502c4aa363ecfaa2afd8ae0a63951b059b6cc8 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLMenuItemElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLMenuItemElement.cpp |
@@ -32,12 +32,13 @@ void HTMLMenuItemElement::ParseAttribute( |
void HTMLMenuItemElement::DefaultEventHandler(Event* event) { |
if (event->type() == EventTypeNames::click) { |
- if (EqualIgnoringCase(FastGetAttribute(typeAttr), "checkbox")) { |
+ if (DeprecatedEqualIgnoringCase(FastGetAttribute(typeAttr), "checkbox")) { |
if (FastHasAttribute(checkedAttr)) |
removeAttribute(checkedAttr); |
else |
setAttribute(checkedAttr, "checked"); |
- } else if (EqualIgnoringCase(FastGetAttribute(typeAttr), "radio")) { |
+ } else if (DeprecatedEqualIgnoringCase(FastGetAttribute(typeAttr), |
+ "radio")) { |
if (Element* parent = parentElement()) { |
AtomicString group = FastGetAttribute(radiogroupAttr); |
for (HTMLMenuItemElement& menu_item : |