From cbbccde776eb2f953f84edc2ffa8096243baec9a Mon Sep 17 00:00:00 2001 From: "dbaron%dbaron.org" Date: Mon, 11 Jan 2010 22:12:18 +0000 Subject: [PATCH] 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 --- mozilla/layout/generic/nsBlockFrame.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/layout/generic/nsBlockFrame.cpp b/mozilla/layout/generic/nsBlockFrame.cpp index 519d7779d18..eb8e9741b86 100644 --- a/mozilla/layout/generic/nsBlockFrame.cpp +++ b/mozilla/layout/generic/nsBlockFrame.cpp @@ -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) {