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

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

Issue 342283005: Make collection caching code more consistent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix nits Created 6 years, 5 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
« no previous file with comments | « Source/core/dom/NodeListsNodeData.h ('k') | Source/core/html/HTMLFieldSetElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLDataListElement.cpp
diff --git a/Source/core/html/HTMLDataListElement.cpp b/Source/core/html/HTMLDataListElement.cpp
index 4ef15b3e7a6a7dee00f18a881175071e6f385ce4..2ae46d3214e3ad11516a180b905efa081f329809 100644
--- a/Source/core/html/HTMLDataListElement.cpp
+++ b/Source/core/html/HTMLDataListElement.cpp
@@ -34,6 +34,7 @@
#include "core/HTMLNames.h"
#include "core/dom/IdTargetObserverRegistry.h"
+#include "core/dom/NodeListsNodeData.h"
#include "core/frame/UseCounter.h"
namespace blink {
@@ -52,7 +53,7 @@ PassRefPtrWillBeRawPtr<HTMLDataListElement> HTMLDataListElement::create(Document
PassRefPtrWillBeRawPtr<HTMLCollection> HTMLDataListElement::options()
{
- return ensureCachedHTMLCollection(DataListOptions);
+ return ensureCachedCollection<HTMLCollection>(DataListOptions);
}
void HTMLDataListElement::childrenChanged(const ChildrenChange& change)
« no previous file with comments | « Source/core/dom/NodeListsNodeData.h ('k') | Source/core/html/HTMLFieldSetElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698