зеркало из https://github.com/mozilla/gecko-dev.git
Bug 351688 nsCSSFrameConstructor::ContentRemoved has a hopefully useless DEBUG oversafe null check of parentFrame
r=mats.palmgren sr=bz
This commit is contained in:
Родитель
4fd9a45e70
Коммит
610243d09d
|
@ -10017,15 +10017,11 @@ nsCSSFrameConstructor::ContentRemoved(nsIContent* aContainer,
|
||||||
nsFrame::ListTag(stdout, childFrame);
|
nsFrame::ListTag(stdout, childFrame);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
if (parentFrame) {
|
|
||||||
nsIFrameDebug* fdbg = nsnull;
|
nsIFrameDebug* fdbg = nsnull;
|
||||||
CallQueryInterface(parentFrame, &fdbg);
|
CallQueryInterface(parentFrame, &fdbg);
|
||||||
if (fdbg)
|
if (fdbg)
|
||||||
fdbg->List(stdout, 0);
|
fdbg->List(stdout, 0);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
printf(" ==> no parent frame\n");
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Walk the frame subtree deleting any out-of-flow frames, and
|
// Walk the frame subtree deleting any out-of-flow frames, and
|
||||||
|
|
Загрузка…
Ссылка в новой задаче