Index: Source/core/html/RadioNodeList.cpp |
diff --git a/Source/core/html/RadioNodeList.cpp b/Source/core/html/RadioNodeList.cpp |
index 59e86c9777d90497ded61dcc194e2600fce6dc86..4fa03d407942a3219225a78ff77b31b1ae79fc34 100644 |
--- a/Source/core/html/RadioNodeList.cpp |
+++ b/Source/core/html/RadioNodeList.cpp |
@@ -102,18 +102,18 @@ bool RadioNodeList::checkElementMatchesRadioNodeListFilter(const Element& testEl |
return testElement.getIdAttribute() == m_name || testElement.getNameAttribute() == m_name; |
} |
-bool RadioNodeList::nodeMatches(const Element& testElement) const |
+bool RadioNodeList::elementMatches(const Element& element) const |
{ |
if (m_onlyMatchImgElements) |
- return testElement.hasTagName(imgTag); |
+ return element.hasTagName(imgTag); |
- if (!testElement.hasTagName(objectTag) && !testElement.isFormControlElement()) |
+ if (!element.hasTagName(objectTag) && !element.isFormControlElement()) |
return false; |
- if (testElement.hasTagName(inputTag) && toHTMLInputElement(testElement).isImageButton()) |
+ if (element.hasTagName(inputTag) && toHTMLInputElement(element).isImageButton()) |
return false; |
- return checkElementMatchesRadioNodeListFilter(testElement); |
+ return checkElementMatchesRadioNodeListFilter(element); |
} |
} // namespace |