Chromium Code Reviews

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

Issue 224303004: Stop passing the root node to node lists traversal functions (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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « Source/core/dom/ChildNodeList.cpp ('k') | Source/core/dom/LiveNodeList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/LiveNodeList.h
diff --git a/Source/core/dom/LiveNodeList.h b/Source/core/dom/LiveNodeList.h
index b9128e47b8b25416789275265b345157934991f5..67c61e488e368460f42fbb1a1ad298a2dec87864 100644
--- a/Source/core/dom/LiveNodeList.h
+++ b/Source/core/dom/LiveNodeList.h
@@ -51,8 +51,8 @@ public:
// Collection IndexCache API.
bool canTraverseBackward() const { return true; }
Element* itemBefore(const Element* previousItem) const;
- Element* traverseToFirstElement(const ContainerNode& root) const;
- Element* traverseForwardToOffset(unsigned offset, Element& currentNode, unsigned& currentOffset, const ContainerNode& root) const;
+ Element* traverseToFirstElement() const;
+ Element* traverseForwardToOffset(unsigned offset, Element& currentNode, unsigned& currentOffset) const;
private:
virtual Node* virtualOwnerNode() const OVERRIDE FINAL;
« no previous file with comments | « Source/core/dom/ChildNodeList.cpp ('k') | Source/core/dom/LiveNodeList.cpp » ('j') | no next file with comments »

Powered by Google App Engine