#include "core/dom/IdTargetObserverRegistry.h"
#include "core/dom/NodeListsNodeData.h"
#include "core/frame/UseCounter.h"
+#include "core/html/HTMLDataListOptionsCollection.h"
namespace blink {
inline HTMLDataListElement::HTMLDataListElement(Document& document)
: HTMLElement(HTMLNames::datalistTag, document)
{
- ScriptWrappable::init(this);
}
PassRefPtrWillBeRawPtr<HTMLDataListElement> HTMLDataListElement::create(Document& document)
return adoptRefWillBeNoop(new HTMLDataListElement(document));
}
-PassRefPtrWillBeRawPtr<HTMLCollection> HTMLDataListElement::options()
+PassRefPtrWillBeRawPtr<HTMLDataListOptionsCollection> HTMLDataListElement::options()
{
- return ensureCachedCollection<HTMLCollection>(DataListOptions);
+ return ensureCachedCollection<HTMLDataListOptionsCollection>(DataListOptions);
}
void HTMLDataListElement::childrenChanged(const ChildrenChange& change)