Bug 346405. Handle reparenting of empty float lists. r+sr=dbaron

git-svn-id: svn://10.0.0.236/trunk@230270 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
roc+%cs.cmu.edu
2007-07-19 04:32:08 +00:00
parent 458abef066
commit d595c6b405

View File

@@ -252,6 +252,10 @@ nsInlineFrame::ReparentFloatsForInlineChild(nsIFrame* aOurLineContainer,
NS_ASSERTION(aOurLineContainer->GetNextContinuation() ||
aOurLineContainer->GetPrevContinuation(),
"Don't call this when we have no continuation, it's a waste");
if (!aFrame) {
NS_ASSERTION(aReparentSiblings, "Why did we get called?");
return;
}
nsIFrame* ancestor = aFrame;
nsIFrame* ancestorBlockChild;