| 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 37736c59d0fbdb6271e964d17f5e5f795c21e778..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::isDefaultButtonForForm() const
|
| -{
|
| - // HTMLFormElement::defaultButton() traverses the tree. So we check
|
| - // canBeSuccessfulSubmitButton() first for early return.
|
| - return canBeSuccessfulSubmitButton() && form() && form()->defaultButton() == this;
|
| -}
|
| -
|
| HTMLFormControlElement* HTMLFormControlElement::enclosingFormControlElement(Node* node)
|
| {
|
| if (!node)
|
|
|