Index: third_party/WebKit/Source/core/html/HTMLButtonElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLButtonElement.cpp b/third_party/WebKit/Source/core/html/HTMLButtonElement.cpp |
index fb3ec6658bf16e1557cf0a822f59fbb17999a0bd..8df534cd4300ffbe0d7c5b30d81394b4536a7151 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLButtonElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLButtonElement.cpp |
@@ -88,9 +88,9 @@ bool HTMLButtonElement::IsPresentationAttribute( |
void HTMLButtonElement::ParseAttribute( |
const AttributeModificationParams& params) { |
if (params.name == typeAttr) { |
- if (EqualIgnoringCase(params.new_value, "reset")) |
+ if (DeprecatedEqualIgnoringCase(params.new_value, "reset")) |
type_ = RESET; |
- else if (EqualIgnoringCase(params.new_value, "button")) |
+ else if (DeprecatedEqualIgnoringCase(params.new_value, "button")) |
type_ = BUTTON; |
else |
type_ = SUBMIT; |