Index: third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp b/third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp |
index 09e3bd3a95c1747d75105bf2cac9ebfdae007eea..044d82c23c79033ba53b21ff4868b94e98a43b56 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp |
@@ -111,6 +111,11 @@ bool HTMLOptGroupElement::matchesEnabledPseudoClass() const |
return !isDisabledFormControl(); |
} |
+bool HTMLOptGroupElement::matchesDisabledPseudoClass() const |
+{ |
+ return isDisabledFormControl(); |
+} |
+ |
void HTMLOptGroupElement::updateNonComputedStyle() |
{ |
m_style = originalStyleForLayoutObject(); |