- fixed another bug in the last checkin, isCacheValid was unitialized, resulting in
sometimes using a huge bogus length value.
* khtml/xml/dom_nodeimpl.cpp:
(NodeListImpl::NodeListImpl): Initialize isCacheValid.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8000
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
2004-11-12 Maciej Stachowiak <mjs@apple.com>
2004-11-12 Maciej Stachowiak <mjs@apple.com>
- Reviewed by NOBODY (OOPS!).
- fixed another bug in the last checkin, isCacheValid was unitialized, resulting in
sometimes using a huge bogus length value.
- fixed another bug in the last checkin, isCacheValid was unitialized, resulting in
sometimes using a huge bogus length value.
NodeListImpl::NodeListImpl(NodeImpl *_rootNode)
NodeListImpl::NodeListImpl(NodeImpl *_rootNode)
+ : rootNode(_rootNode),
+ isCacheValid(false)
rootNode->ref();
rootNode->registerNodeList(this);
}
rootNode->ref();
rootNode->registerNodeList(this);
}