Index: Source/web/WebInputElement.cpp |
diff --git a/Source/web/WebInputElement.cpp b/Source/web/WebInputElement.cpp |
index 627ebce4f0f9b700359fa24c9c6b52621ec49700..0b5e00d57e31fdf5851fef184605024fbac137e7 100644 |
--- a/Source/web/WebInputElement.cpp |
+++ b/Source/web/WebInputElement.cpp |
@@ -33,7 +33,7 @@ |
#include "HTMLNames.h" |
#include "RuntimeEnabledFeatures.h" |
-#include "WebNodeCollection.h" |
+#include "WebElementCollection.h" |
#include "core/dom/shadow/ElementShadow.h" |
#include "core/dom/shadow/ShadowRoot.h" |
#include "core/html/HTMLDataListElement.h" |
@@ -167,13 +167,13 @@ bool WebInputElement::isMultiple() const |
return constUnwrap<HTMLInputElement>()->multiple(); |
} |
-WebNodeCollection WebInputElement::dataListOptions() const |
+WebElementCollection WebInputElement::dataListOptions() const |
{ |
if (RuntimeEnabledFeatures::dataListElementEnabled()) { |
if (HTMLDataListElement* dataList = toHTMLDataListElement(constUnwrap<HTMLInputElement>()->list())) |
- return WebNodeCollection(dataList->options()); |
+ return WebElementCollection(dataList->options()); |
} |
- return WebNodeCollection(); |
+ return WebElementCollection(); |
} |
WebString WebInputElement::localizeValue(const WebString& proposedValue) const |