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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user