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

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

Issue 198443003: Rename LiveNodeList::nodeMatches() to elementMatches() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/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 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
« no previous file with comments | « Source/core/html/RadioNodeList.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698