- fix recent regression from collection perf fixes.
* khtml/html/html_miscimpl.cpp:
(HTMLFormCollectionImpl::updateNameCache): Look up the name
attribute in the name cache, not the id cache (d'oh!)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8091
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2004-11-30 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by John.
+
+ - fix recent regression from collection perf fixes.
+
+ * khtml/html/html_miscimpl.cpp:
+ (HTMLFormCollectionImpl::updateNameCache): Look up the name
+ attribute in the name cache, not the id cache (d'oh!)
+
2004-11-30 Darin Adler <darin@apple.com>
Reviewed by Ken.
}
if (!nameAttr.isEmpty() && idAttr != nameAttr) {
// add to name cache
- QPtrVector<NodeImpl> *nameVector = info->idCache.find(nameAttr);
+ QPtrVector<NodeImpl> *nameVector = info->nameCache.find(nameAttr);
if (!nameVector) {
nameVector = new QPtrVector<NodeImpl>;
info->nameCache.insert(nameAttr, nameVector);