Removed farme enumeration member functions for indexed access, last child,

and child count
This commit is contained in:
troy@netscape.com
1998-09-19 03:24:26 +00:00
parent 7904d72ff6
commit 80417bf958
36 changed files with 143 additions and 300 deletions

View File

@@ -206,8 +206,9 @@ nsHTMLContainerFrame::ContentDeleted(nsIPresShell* aShell,
// If the last frame for the flow is the frame we are deleting
// then the flow will become complete.
if (!flow->mLastContentIsComplete) {
nsIFrame* lastFrame;
flow->LastChild(lastFrame);
nsIFrame* firstChild;
flow->FirstChild(firstChild);
nsIFrame* lastFrame = LastFrame(firstChild);
if (lastFrame == deadFrame) {
flow->mLastContentIsComplete = PR_TRUE;
}