Index: third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp b/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp |
index a970f5084675c74e4c00fa0b891628d1b2c18531..dd3e8f8e0310bc6bd8104cb358b33b58091d45ae 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp |
@@ -364,6 +364,11 @@ bool HTMLFormControlElement::matchesEnabledPseudoClass() const |
return !isDisabledFormControl(); |
} |
+bool HTMLFormControlElement::matchesDisabledPseudoClass() const |
+{ |
+ return isDisabledFormControl(); |
+} |
+ |
bool HTMLFormControlElement::isRequired() const |
{ |
return fastHasAttribute(requiredAttr); |