still even more build fixing
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Nov 2004 00:08:12 +0000 (00:08 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Nov 2004 00:08:12 +0000 (00:08 +0000)
        * khtml/html/html_miscimpl.cpp:
        (HTMLCollectionImpl::resetCollectionInfo):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8040 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog-2005-08-23
WebCore/khtml/html/html_miscimpl.cpp

index 46c5954..5b5e920 100644 (file)
@@ -1,5 +1,12 @@
 2004-11-18  Maciej Stachowiak  <mjs@apple.com>
 
+        still even more build fixing
+
+        * khtml/html/html_miscimpl.cpp:
+        (HTMLCollectionImpl::resetCollectionInfo):
+
+2004-11-18  Maciej Stachowiak  <mjs@apple.com>
+
         more build fixing
 
         * khtml/html/html_miscimpl.cpp:
index c1ff2dd..26f8b47 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;
     }
 }