Index: Source/core/dom/LiveNodeList.cpp |
diff --git a/Source/core/dom/LiveNodeList.cpp b/Source/core/dom/LiveNodeList.cpp |
index d079fb081b64be3d4f61e30b50a1bf29adbaa212..25ea0915f19e03593d60fc9f9ea81c494e77d90d 100644 |
--- a/Source/core/dom/LiveNodeList.cpp |
+++ b/Source/core/dom/LiveNodeList.cpp |
@@ -45,14 +45,14 @@ Element* LiveNodeList::itemBefore(const Element* previous) const |
return LiveNodeListBase::itemBefore(*this, previous); |
} |
-Element* LiveNodeList::traverseToFirstElement(const ContainerNode& root) const |
+Element* LiveNodeList::traverseToFirstElement() const |
{ |
- return firstMatchingElement(*this, root); |
+ return firstMatchingElement(*this); |
} |
-Element* LiveNodeList::traverseForwardToOffset(unsigned offset, Element& currentNode, unsigned& currentOffset, const ContainerNode& root) const |
+Element* LiveNodeList::traverseForwardToOffset(unsigned offset, Element& currentNode, unsigned& currentOffset) const |
{ |
- return traverseMatchingElementsForwardToOffset(*this, offset, currentNode, currentOffset, root); |
+ return traverseMatchingElementsForwardToOffset(*this, offset, currentNode, currentOffset); |
} |
} // namespace WebCore |