Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(522)

Unified Diff: Source/core/html/HTMLDataListElement.cpp

Issue 488763002: Introduce HTMLDataListOptionsCollection subclass for HTMLCollection (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/HTMLDataListElement.cpp
diff --git a/Source/core/html/HTMLDataListElement.cpp b/Source/core/html/HTMLDataListElement.cpp
index 2ae46d3214e3ad11516a180b905efa081f329809..7c6903ca7ebe6a6592433f434ec00b38c26f20a2 100644
--- a/Source/core/html/HTMLDataListElement.cpp
+++ b/Source/core/html/HTMLDataListElement.cpp
@@ -36,6 +36,7 @@
#include "core/dom/IdTargetObserverRegistry.h"
#include "core/dom/NodeListsNodeData.h"
#include "core/frame/UseCounter.h"
+#include "core/html/HTMLDataListOptionsCollection.h"
namespace blink {
@@ -51,9 +52,9 @@ PassRefPtrWillBeRawPtr<HTMLDataListElement> HTMLDataListElement::create(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)

Powered by Google App Engine
This is Rietveld 408576698