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

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

Issue 119063002: Have HTMLFormElement's named getter return a RadioNodeList. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update expected output for inspector/console/console-format-collections Created 7 years 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
« Source/core/html/RadioNodeList.h ('K') | « Source/core/html/RadioNodeList.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/RadioNodeList.cpp
diff --git a/Source/core/html/RadioNodeList.cpp b/Source/core/html/RadioNodeList.cpp
index f7cbfa982a2f55660b47bc3c18b2d3d583b25664..c112d8987c59993ddddc1fa7bbd0ffedca1041ab 100644
--- a/Source/core/html/RadioNodeList.cpp
+++ b/Source/core/html/RadioNodeList.cpp
@@ -107,5 +107,12 @@ bool RadioNodeList::nodeMatches(Element* testElement) const
return checkElementMatchesRadioNodeListFilter(testElement);
}
+RadioImgNodeList::RadioImgNodeList(Node* rootNode, const AtomicString& name) : RadioNodeList(rootNode, name) { }
+
+bool RadioImgNodeList::nodeMatches(Element* testElement) const
+{
+ return testElement->hasTagName(imgTag);
+}
+
} // namspace
« Source/core/html/RadioNodeList.h ('K') | « Source/core/html/RadioNodeList.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698