| Index: third_party/WebKit/Source/core/html/HTMLDataListOptionsCollection.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLDataListOptionsCollection.h b/third_party/WebKit/Source/core/html/HTMLDataListOptionsCollection.h
|
| index 64fcd6b233c0891b5a1fb795bbd8b84abd641015..4b15533033c05eae5e06760259e735cd9e7f013a 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLDataListOptionsCollection.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLDataListOptionsCollection.h
|
| @@ -37,12 +37,7 @@ DEFINE_TYPE_CASTS(HTMLDataListOptionsCollection,
|
|
|
| inline bool HTMLDataListOptionsCollection::elementMatches(
|
| const HTMLElement& element) const {
|
| - if (isHTMLOptionElement(element)) {
|
| - const HTMLOptionElement& option = toHTMLOptionElement(element);
|
| - if (!option.isDisabledFormControl() && !option.value().isEmpty())
|
| - return true;
|
| - }
|
| - return false;
|
| + return isHTMLOptionElement(element);
|
| }
|
|
|
| } // namespace blink
|
|
|