Move GetFirstInFlow/GetLastInFlow up to nsIFrame. Bug 187117, r=roc+moz, sr=dbaron

git-svn-id: svn://10.0.0.236/trunk@136402 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2003-01-16 02:59:04 +00:00
parent 670557ae8e
commit 291ec6eb41
16 changed files with 108 additions and 162 deletions

View File

@@ -97,15 +97,7 @@ GetNextChildFrame(nsIPresContext* aPresContext, nsIFrame* aFrame)
NS_PRECONDITION(aFrame, "null pointer");
// Get the last-in-flow
while (PR_TRUE) {
nsIFrame* nextInFlow;
aFrame->GetNextInFlow(&nextInFlow);
if (nextInFlow) {
aFrame = nextInFlow;
} else {
break;
}
}
aFrame = aFrame->GetLastInFlow();
// Get its next sibling
nsIFrame* nextSibling;