still even more build fixing
[WebKit-https.git] / WebCore / khtml / html / html_miscimpl.cpp
index c1ff2dd0f190cfee7796e6b5688d763f214ba823..26f8b472b3fe06b816e4300ee437ee0e27cef868 100644 (file)
@@ -70,11 +70,10 @@ void HTMLCollectionImpl::resetCollectionInfo() const
 {
     unsigned int docversion = static_cast<HTMLDocumentImpl*>(base->getDocument())->domTreeVersion();
     if (info->version != docversion) {
-        version = 0;
-        current = 0;
-        position = 0;
-        length = 0;
-        haslength = false;
+        info->current = 0;
+        info->position = 0;
+        info->length = 0;
+        info->haslength = false;
         info->version = docversion;
     }
 }