Removed mChildCount from nsContainerFrame

This commit is contained in:
troy@netscape.com
1998-09-24 17:56:35 +00:00
parent ef1ca723e1
commit 2e3d85d534
12 changed files with 3 additions and 44 deletions

View File

@@ -212,12 +212,6 @@ nsHTMLContainerFrame::ContentDeleted(nsIPresShell* aShell,
flow->mFirstChild = nextSib;
}
// Update flows child count and last-content-offset. Note that
// only the last content needs updating when a deadFrame is
// removed from flow (because only the children that follow the
// deletion need renumbering).
flow->mChildCount--;
// Break frame out of its flow and then destroy it
nsIFrame* nextInFlow;
deadFrame->GetNextInFlow(nextInFlow);