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

Unified Diff: Source/core/html/LabelsNodeList.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/LabelsNodeList.h ('k') | Source/core/html/RadioNodeList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/LabelsNodeList.cpp
diff --git a/Source/core/html/LabelsNodeList.cpp b/Source/core/html/LabelsNodeList.cpp
index 1dba7dc762d9cf8cd1b6c86ac349ce6d85ffe163..e1785422745696ec496b2f08227074d0535a2f9f 100644
--- a/Source/core/html/LabelsNodeList.cpp
+++ b/Source/core/html/LabelsNodeList.cpp
@@ -43,9 +43,9 @@ LabelsNodeList::~LabelsNodeList()
ownerNode().nodeLists()->removeCache(this, LabelsNodeListType);
}
-bool LabelsNodeList::nodeMatches(const Element& testNode) const
+bool LabelsNodeList::elementMatches(const Element& element) const
{
- return testNode.hasTagName(labelTag) && toHTMLLabelElement(testNode).control() == ownerNode();
+ return element.hasTagName(labelTag) && toHTMLLabelElement(element).control() == ownerNode();
}
} // namespace WebCore
« no previous file with comments | « Source/core/html/LabelsNodeList.h ('k') | Source/core/html/RadioNodeList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698