Index: Source/core/dom/LiveNodeList.h |
diff --git a/Source/core/dom/LiveNodeList.h b/Source/core/dom/LiveNodeList.h |
index 0756b388873aad4a2a6483fd064a09cf740a6602..2145b245f9ee85166540f90302f42a95b2ed0c70 100644 |
--- a/Source/core/dom/LiveNodeList.h |
+++ b/Source/core/dom/LiveNodeList.h |
@@ -137,7 +137,7 @@ protected: |
private: |
Node* itemBeforeOrAfterCachedItem(unsigned offset, ContainerNode* root) const; |
Node* traverseChildNodeListForwardToOffset(unsigned offset, Node* currentNode, unsigned& currentOffset) const; |
- Element* traverseLiveNodeListFirstElement(ContainerNode* root) const; |
+ Element* traverseLiveNodeListFirstElement(ContainerNode& root) const; |
Element* traverseLiveNodeListForwardToOffset(unsigned offset, Element& currentElement, unsigned& currentOffset, ContainerNode* root) const; |
bool isLastItemCloserThanLastOrCachedItem(unsigned offset) const; |
bool isFirstItemCloserThanCachedItem(unsigned offset) const; |