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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user