Land the relevant parts of bug 534082. r=tnikkel sr=roc a1.9.0.18=dveditz
git-svn-id: svn://10.0.0.236/trunk@259371 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -5588,14 +5588,14 @@ nsBlockFrame::StealFrame(nsPresContext* aPresContext,
|
||||
if (searchingOverflowList) {
|
||||
// Erase line, but avoid making the overflow line list empty
|
||||
nsLineList* lineList = RemoveOverflowLines();
|
||||
lineList->erase(line);
|
||||
line = lineList->erase(line);
|
||||
if (!lineList->empty()) {
|
||||
nsresult rv = SetOverflowLines(lineList);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
}
|
||||
}
|
||||
else {
|
||||
mLines.erase(line);
|
||||
line = mLines.erase(line);
|
||||
}
|
||||
lineBox->Destroy(aPresContext->PresShell());
|
||||
if (line != line_end) {
|
||||
|
||||
Reference in New Issue
Block a user