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 a26795b85efe9b4cef0e3df3e8c6d38fdcf3a7e3..65729e11fb8bc833fe496e243f215d84da25caa6 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp |
@@ -635,13 +635,6 @@ bool HTMLFormControlElement::isSuccessfulSubmitButton() const |
return canBeSuccessfulSubmitButton() && !isDisabledFormControl(); |
} |
-bool HTMLFormControlElement::matchesDefaultPseudoClass() const |
-{ |
- // HTMLFormElement::findDefaultButton() traverses the tree. So we check |
- // canBeSuccessfulSubmitButton() first for early return. |
- return canBeSuccessfulSubmitButton() && form() && form()->findDefaultButton() == this; |
-} |
- |
HTMLFormControlElement* HTMLFormControlElement::enclosingFormControlElement(Node* node) |
{ |
if (!node) |