Slight correction to previous patch. b=209359

This commit is contained in:
dbaron%dbaron.org 2003-06-15 01:24:03 +00:00
Родитель 78e42e3723
Коммит 74c2fa7ad8
2 изменённых файлов: 8 добавлений и 4 удалений

Просмотреть файл

@ -4623,12 +4623,14 @@ GetIBSpecialSibling(nsIPresContext* aPresContext,
} }
/* /*
* Get a next sibling, or, if there is none, get the parent's next in * Get the last-in-flow's next sibling, or, if there is none, get the
* flow's first child. * parent's next in flow's first child.
*/ */
static nsIFrame* static nsIFrame*
GetNextSiblingAcrossLines(nsIPresContext *aPresContext, nsIFrame *aFrame) GetNextSiblingAcrossLines(nsIPresContext *aPresContext, nsIFrame *aFrame)
{ {
aFrame = aFrame->GetLastInFlow();
nsIFrame *result; nsIFrame *result;
aFrame->GetNextSibling(&result); aFrame->GetNextSibling(&result);
if (result) if (result)

Просмотреть файл

@ -4623,12 +4623,14 @@ GetIBSpecialSibling(nsIPresContext* aPresContext,
} }
/* /*
* Get a next sibling, or, if there is none, get the parent's next in * Get the last-in-flow's next sibling, or, if there is none, get the
* flow's first child. * parent's next in flow's first child.
*/ */
static nsIFrame* static nsIFrame*
GetNextSiblingAcrossLines(nsIPresContext *aPresContext, nsIFrame *aFrame) GetNextSiblingAcrossLines(nsIPresContext *aPresContext, nsIFrame *aFrame)
{ {
aFrame = aFrame->GetLastInFlow();
nsIFrame *result; nsIFrame *result;
aFrame->GetNextSibling(&result); aFrame->GetNextSibling(&result);
if (result) if (result)