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 46c5954fe5286de6ad92e46a80d49fca0f09b5e1..5b5e9203dee79b23b618230d5a8bcc7e09a0844a 100644 (file)
@@ -1,3 +1,10 @@
+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
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;
     }
 }