Index: third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
index 1e3cf9fb3148968f90afeaf2ccecffffa97941c8..c5c16079731605423fc446c27d35c8d41d289692 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
@@ -744,9 +744,6 @@ void HTMLInputElement::parseAttribute(const QualifiedName& name, const AtomicStr |
} else if (name == patternAttr) { |
setNeedsValidityCheck(); |
UseCounter::count(document(), UseCounter::PatternAttribute); |
- } else if (name == disabledAttr) { |
- HTMLTextFormControlElement::parseAttribute(name, oldValue, value); |
- m_inputTypeView->disabledAttributeChanged(); |
} else if (name == readonlyAttr) { |
HTMLTextFormControlElement::parseAttribute(name, oldValue, value); |
m_inputTypeView->readonlyAttributeChanged(); |
@@ -1533,6 +1530,12 @@ void HTMLInputElement::requiredAttributeChanged() |
m_inputTypeView->requiredAttributeChanged(); |
} |
+void HTMLInputElement::disabledAttributeChanged() |
+{ |
+ HTMLTextFormControlElement::disabledAttributeChanged(); |
+ m_inputTypeView->disabledAttributeChanged(); |
+} |
+ |
void HTMLInputElement::selectColorInColorChooser(const Color& color) |
{ |
if (ColorChooserClient* client = m_inputType->colorChooserClient()) |