mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1008917 - part 13, make nsContainerFrame::ReflowOverflowContainerChildren() return type 'void'. r=roc
This commit is contained in:
parent
d8fb1410b3
commit
1882f97741
@ -1066,7 +1066,7 @@ nsContainerFrame::FinishReflowChild(nsIFrame* aKidFrame,
|
||||
aKidFrame->DidReflow(aPresContext, aReflowState, nsDidReflowStatus::FINISHED);
|
||||
}
|
||||
|
||||
nsresult
|
||||
void
|
||||
nsContainerFrame::ReflowOverflowContainerChildren(nsPresContext* aPresContext,
|
||||
const nsHTMLReflowState& aReflowState,
|
||||
nsOverflowAreas& aOverflowRects,
|
||||
@ -1112,7 +1112,7 @@ nsContainerFrame::ReflowOverflowContainerChildren(nsPresContext* aPres
|
||||
}
|
||||
}
|
||||
if (!overflowContainers) {
|
||||
return NS_OK; // nothing to reflow
|
||||
return; // nothing to reflow
|
||||
}
|
||||
|
||||
nsOverflowContinuationTracker tracker(this, false, false);
|
||||
@ -1175,7 +1175,9 @@ nsContainerFrame::ReflowOverflowContainerChildren(nsPresContext* aPres
|
||||
// used to be a normal next-in-flow; steal it from the child list
|
||||
nsresult rv = static_cast<nsContainerFrame*>(nif->GetParent())
|
||||
->StealFrame(nif);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
if (NS_FAILED(rv)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
tracker.Insert(nif, frameStatus);
|
||||
@ -1192,8 +1194,6 @@ nsContainerFrame::ReflowOverflowContainerChildren(nsPresContext* aPres
|
||||
}
|
||||
ConsiderChildOverflow(aOverflowRects, frame);
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -291,11 +291,11 @@ public:
|
||||
*
|
||||
* (aFlags just gets passed through to ReflowChild)
|
||||
*/
|
||||
nsresult ReflowOverflowContainerChildren(nsPresContext* aPresContext,
|
||||
const nsHTMLReflowState& aReflowState,
|
||||
nsOverflowAreas& aOverflowRects,
|
||||
uint32_t aFlags,
|
||||
nsReflowStatus& aStatus);
|
||||
void ReflowOverflowContainerChildren(nsPresContext* aPresContext,
|
||||
const nsHTMLReflowState& aReflowState,
|
||||
nsOverflowAreas& aOverflowRects,
|
||||
uint32_t aFlags,
|
||||
nsReflowStatus& aStatus);
|
||||
|
||||
/**
|
||||
* Move any frames on our overflow list to the end of our principal list.
|
||||
|
Loading…
Reference in New Issue
Block a user