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

Unified Diff: Source/core/dom/ChildNodeList.h

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 | « no previous file | Source/core/dom/LiveNodeList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ChildNodeList.h
diff --git a/Source/core/dom/ChildNodeList.h b/Source/core/dom/ChildNodeList.h
index 88c779e8ac6486837890a0f4ef16bb9bdac45960..c3b8ffbf5dd9636fba4ab092373a8e3e2943fe79 100644
--- a/Source/core/dom/ChildNodeList.h
+++ b/Source/core/dom/ChildNodeList.h
@@ -53,8 +53,8 @@ public:
// CollectionIndexCache API.
bool canTraverseBackward() const { return true; }
- Node* traverseToFirstElement() const { return rootNode().firstChild(); }
- Node* traverseToLastElement() const { return rootNode().lastChild(); }
+ Node* traverseToFirst() const { return rootNode().firstChild(); }
+ Node* traverseToLast() const { return rootNode().lastChild(); }
Node* traverseForwardToOffset(unsigned offset, Node& currentNode, unsigned& currentOffset) const;
Node* traverseBackwardToOffset(unsigned offset, Node& currentNode, unsigned& currentOffset) const;
« no previous file with comments | « no previous file | Source/core/dom/LiveNodeList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698