Bug 351688 nsCSSFrameConstructor::ContentRemoved has a hopefully useless DEBUG oversafe null check of parentFrame

r=mats.palmgren sr=bz
This commit is contained in:
timeless%mozdev.org 2006-09-16 23:01:12 +00:00
Родитель 4fd9a45e70
Коммит 610243d09d
1 изменённых файлов: 4 добавлений и 8 удалений

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

@ -10017,14 +10017,10 @@ nsCSSFrameConstructor::ContentRemoved(nsIContent* aContainer,
nsFrame::ListTag(stdout, childFrame);
printf("\n");
if (parentFrame) {
nsIFrameDebug* fdbg = nsnull;
CallQueryInterface(parentFrame, &fdbg);
if (fdbg)
fdbg->List(stdout, 0);
}
else
printf(" ==> no parent frame\n");
nsIFrameDebug* fdbg = nsnull;
CallQueryInterface(parentFrame, &fdbg);
if (fdbg)
fdbg->List(stdout, 0);
}
#endif