Index: Source/core/html/HTMLCollection.h |
diff --git a/Source/core/html/HTMLCollection.h b/Source/core/html/HTMLCollection.h |
index dc62bd0b4f1cad66e8584a68f115c8fcfc851a40..ab5d48fd3810dbdfadf73926117df112ef9dccc4 100644 |
--- a/Source/core/html/HTMLCollection.h |
+++ b/Source/core/html/HTMLCollection.h |
@@ -54,7 +54,7 @@ public: |
// CollectionIndexCache API. |
bool canTraverseBackward() const { return !overridesItemAfter(); } |
- Element* itemBefore(const Node* previousItem) const; |
+ Element* itemBefore(const Element* previousItem) const; |
Element* traverseToFirstElement(const ContainerNode& root) const; |
Element* traverseForwardToOffset(unsigned offset, Element& currentElement, unsigned& currentOffset, const ContainerNode& root) const; |