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

Unified Diff: Source/core/dom/LiveNodeList.cpp

Issue 469913002: Rename CollectionIndexCache API to not use 'Element' (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 4 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/LiveNodeList.h ('k') | Source/core/html/CollectionIndexCache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/LiveNodeList.cpp
diff --git a/Source/core/dom/LiveNodeList.cpp b/Source/core/dom/LiveNodeList.cpp
index 94f300eb63a5da533d7edd5a9fae1fa08cc299bb..2254a728c26eb17bf8acc463e7dbb629a0b6dfc7 100644
--- a/Source/core/dom/LiveNodeList.cpp
+++ b/Source/core/dom/LiveNodeList.cpp
@@ -64,12 +64,12 @@ Element* LiveNodeList::item(unsigned offset) const
return m_collectionIndexCache.nodeAt(*this, offset);
}
-Element* LiveNodeList::traverseToFirstElement() const
+Element* LiveNodeList::traverseToFirst() const
{
return ElementTraversal::firstWithin(rootNode(), IsMatch(*this));
}
-Element* LiveNodeList::traverseToLastElement() const
+Element* LiveNodeList::traverseToLast() const
{
return ElementTraversal::lastWithin(rootNode(), IsMatch(*this));
}
« no previous file with comments | « Source/core/dom/LiveNodeList.h ('k') | Source/core/html/CollectionIndexCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698