| Index: third_party/WebKit/Source/core/css/SelectorChecker.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/SelectorChecker.cpp b/third_party/WebKit/Source/core/css/SelectorChecker.cpp
|
| index 2396d13e18564ae2a3f21645e43d69d9d792e84f..a37338438e57eb9c386c3a4c09c284f8b75e8b9d 100644
|
| --- a/third_party/WebKit/Source/core/css/SelectorChecker.cpp
|
| +++ b/third_party/WebKit/Source/core/css/SelectorChecker.cpp
|
| @@ -831,7 +831,7 @@ bool SelectorChecker::checkPseudoClass(const SelectorCheckingContext& context, M
|
| case CSSSelector::PseudoFullPageMedia:
|
| return element.document().isMediaDocument();
|
| case CSSSelector::PseudoDefault:
|
| - return element.isDefaultButtonForForm();
|
| + return element.matchesDefaultPseudoClass();
|
| case CSSSelector::PseudoDisabled:
|
| // TODO(esprehn): Why not just always return isDisabledFormControl()?
|
| // Can it be true for elements not in the list below?
|
|
|