mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
Bug 351688 nsCSSFrameConstructor::ContentRemoved has a hopefully useless DEBUG oversafe null check of parentFrame
r=mats.palmgren sr=bz
This commit is contained in:
parent
4fd9a45e70
commit
610243d09d
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user