Fixing incorrect hash table useage, this fixes smoketest blocker #38795. a=granrose

This commit is contained in:
jst%netscape.com 2000-05-10 18:19:46 +00:00
Родитель 612ff6a87f
Коммит 917b5b56a5
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -229,9 +229,9 @@ nsNodeInfoManager::RemoveNodeInfo(nsNodeInfo *aNodeInfo)
NS_WARN_IF_FALSE(aNodeInfo, "Trying to remove null nodeinfo from manager!");
if (aNodeInfo) {
PRBool ret = PL_HashTableRemove(mNodeInfoHash, aNodeInfo);
PRBool ret = PL_HashTableRemove(mNodeInfoHash, &aNodeInfo->mInner);
NS_WARN_IF_FALSE(!ret, "Can't find nsINodeInfo to remove!!!");
NS_WARN_IF_FALSE(ret, "Can't find nsINodeInfo to remove!!!");
}
}

Просмотреть файл

@ -229,9 +229,9 @@ nsNodeInfoManager::RemoveNodeInfo(nsNodeInfo *aNodeInfo)
NS_WARN_IF_FALSE(aNodeInfo, "Trying to remove null nodeinfo from manager!");
if (aNodeInfo) {
PRBool ret = PL_HashTableRemove(mNodeInfoHash, aNodeInfo);
PRBool ret = PL_HashTableRemove(mNodeInfoHash, &aNodeInfo->mInner);
NS_WARN_IF_FALSE(!ret, "Can't find nsINodeInfo to remove!!!");
NS_WARN_IF_FALSE(ret, "Can't find nsINodeInfo to remove!!!");
}
}