Index: Source/core/html/HTMLCollection.h |
diff --git a/Source/core/html/HTMLCollection.h b/Source/core/html/HTMLCollection.h |
index 4ff5e71f5d014d3adf6c8320dd7c6d2fe7264cb2..e1843f92ad7f38dbea49c0938b5c1e410737ab92 100644 |
--- a/Source/core/html/HTMLCollection.h |
+++ b/Source/core/html/HTMLCollection.h |
@@ -62,7 +62,7 @@ public: |
virtual Element* virtualItemAfter(unsigned& offsetInArray, Element*) const; |
Element* traverseFirstElement(unsigned& offsetInArray, ContainerNode* root) const; |
- Element* traverseForwardToOffset(unsigned offset, Element* currentElement, unsigned& currentOffset, unsigned& offsetInArray, ContainerNode* root) const; |
+ Element* traverseForwardToOffset(unsigned offset, Element& currentElement, unsigned& currentOffset, unsigned& offsetInArray, ContainerNode* root) const; |
protected: |
HTMLCollection(Node* base, CollectionType, ItemAfterOverrideType); |
@@ -77,7 +77,7 @@ protected: |
private: |
bool checkForNameMatch(Element*, bool checkName, const AtomicString& name) const; |
- Element* traverseNextElement(unsigned& offsetInArray, Element* previous, ContainerNode* root) const; |
+ Element* traverseNextElement(unsigned& offsetInArray, Element& previous, ContainerNode* root) const; |
virtual bool isLiveNodeList() const OVERRIDE { ASSERT_NOT_REACHED(); return true; } |