Bug 465928. Avoid SetInvalidateTextRuns being called by nsBlockFrame::DoRemoveFrame when we're just deleting empty continuation frames. r+sr=dbaron

This commit is contained in:
Robert O'Callahan
2008-12-03 14:27:19 +13:00
parent 5cb975c402
commit 867901d04c
9 changed files with 85 additions and 57 deletions

View File

@@ -1007,7 +1007,7 @@ nsLineLayout::ReflowFrame(nsIFrame* aFrame,
// parent is not this because we are executing pullup code)
nsHTMLContainerFrame* parent = static_cast<nsHTMLContainerFrame*>
(kidNextInFlow->GetParent());
parent->DeleteNextInFlowChild(mPresContext, kidNextInFlow);
parent->DeleteNextInFlowChild(mPresContext, kidNextInFlow, PR_TRUE);
}
}