Index: third_party/WebKit/Source/core/html/HTMLOptionElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLOptionElement.cpp b/third_party/WebKit/Source/core/html/HTMLOptionElement.cpp |
index df36b0521d1f9a1ba03cb24f5ef4b1d7548d4637..534fdd39cf3b9560a106fb57fc669d7a7da12916 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLOptionElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLOptionElement.cpp |
@@ -125,6 +125,11 @@ bool HTMLOptionElement::matchesEnabledPseudoClass() const |
return !isDisabledFormControl(); |
} |
+bool HTMLOptionElement::matchesDisabledPseudoClass() const |
+{ |
+ return isDisabledFormControl(); |
+} |
+ |
String HTMLOptionElement::displayLabel() const |
{ |
Document& document = this->document(); |