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

Unified Diff: Source/core/dom/NameNodeList.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/dom/NameNodeList.h ('k') | Source/core/html/LabelsNodeList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/NameNodeList.cpp
diff --git a/Source/core/dom/NameNodeList.cpp b/Source/core/dom/NameNodeList.cpp
index a98bbe5f614a93112dd658b3d6aa650797e7bc41..0c0e385dcf0d430b93aec3b1c3a9678dcf2bf192 100644
--- a/Source/core/dom/NameNodeList.cpp
+++ b/Source/core/dom/NameNodeList.cpp
@@ -42,9 +42,9 @@ NameNodeList::~NameNodeList()
ownerNode().nodeLists()->removeCache(this, NameNodeListType, m_name);
}
-bool NameNodeList::nodeMatches(const Element& testNode) const
+bool NameNodeList::elementMatches(const Element& element) const
{
- return testNode.getNameAttribute() == m_name;
+ return element.getNameAttribute() == m_name;
}
} // namespace WebCore
« no previous file with comments | « Source/core/dom/NameNodeList.h ('k') | Source/core/html/LabelsNodeList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698