This commit is contained in:
jonas@sicking.cc 2007-11-29 00:57:07 -08:00
Родитель 33299d3be4
Коммит 15dba1f064
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -1062,7 +1062,7 @@ NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN(nsDocument)
// Tear down linkmap. This is a performance optimization so that we // Tear down linkmap. This is a performance optimization so that we
// don't waste time removing links one by one as they are removed // don't waste time removing links one by one as they are removed
// from the doc. // from the doc.
DestroyLinkMap(); tmp->DestroyLinkMap();
// Unlink the mChildren nsAttrAndChildArray. // Unlink the mChildren nsAttrAndChildArray.
for (PRInt32 indx = PRInt32(tmp->mChildren.ChildCount()) - 1; for (PRInt32 indx = PRInt32(tmp->mChildren.ChildCount()) - 1;