Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz

This commit is contained in:
roc+@cs.cmu.edu
2004-01-09 14:20:53 +00:00
parent 8d1e1c31d1
commit d8fd3d5bb4
119 changed files with 797 additions and 1435 deletions

View File

@@ -3035,8 +3035,7 @@ nsTextControlFrame::SetInitialChildList(nsIPresContext* aPresContext,
if (mEditor)
mEditor->PostCreate();
//look for scroll view below this frame go along first child list
nsIFrame *first;
FirstChild(aPresContext,nsnull, &first);
nsIFrame* first = GetFirstChild(nsnull);
// Mark the scroll frame as being a reflow root. This will allow
// incremental reflows to be initiated at the scroll frame, rather
@@ -3078,7 +3077,7 @@ nsTextControlFrame::SetInitialChildList(nsIPresContext* aPresContext,
break;
}
}
first->FirstChild(aPresContext,nsnull, &first);
first = first->GetFirstChild(nsnull);
}
return rv;