Reviewed by John.
[WebKit-https.git] / WebCore / khtml / html / html_miscimpl.cpp
index 88278fd57f9043395d29bc243f7dec28eab644dd..8792851459855bf54d7345fd896d69779e7f2898 100644 (file)
@@ -103,7 +103,7 @@ void HTMLCollectionImpl::resetCollectionInfo() const
 
 NodeImpl *HTMLCollectionImpl::traverseNextItem(NodeImpl *current) const
 {
-    current = current->traverseNextNode();
+    current = current->traverseNextNode(base);
 
     while (current) {
         if(current->nodeType() == Node::ELEMENT_NODE) {