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

Unified Diff: Source/web/WebInputElement.cpp

Issue 152243003: Rename WebNodeCollection to WebElementCollection for clarity (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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/web/WebElementCollection.cpp ('k') | Source/web/WebNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/web/WebElementCollection.cpp ('k') | Source/web/WebNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698