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 |