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