mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
remove obsolete assert and comment bug 430374 r/sr=bzbarsky
This commit is contained in:
parent
908eef2884
commit
35ddb1c278
@ -924,19 +924,11 @@ nsTableRowGroupFrame::CollapseRowGroupIfNecessary(nscoord aYTotalOffset,
|
|||||||
return yGroupOffset;
|
return yGroupOffset;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Move a child that was skipped during an incremental reflow.
|
// Move a child that was skipped during a reflow.
|
||||||
// This function is not used for paginated mode so we don't need to deal
|
|
||||||
// with continuing frames, and it's only called if aKidFrame has no
|
|
||||||
// cells that span into it and no cells that span across it. That way
|
|
||||||
// we don't have to deal with rowspans
|
|
||||||
// XXX Is it still true that it's not used for paginated mode?
|
|
||||||
void
|
void
|
||||||
nsTableRowGroupFrame::SlideChild(nsRowGroupReflowState& aReflowState,
|
nsTableRowGroupFrame::SlideChild(nsRowGroupReflowState& aReflowState,
|
||||||
nsIFrame* aKidFrame)
|
nsIFrame* aKidFrame)
|
||||||
{
|
{
|
||||||
NS_PRECONDITION(NS_UNCONSTRAINEDSIZE == aReflowState.reflowState.availableHeight,
|
|
||||||
"we're not in galley mode");
|
|
||||||
|
|
||||||
// Move the frame if we need to
|
// Move the frame if we need to
|
||||||
nsPoint oldPosition = aKidFrame->GetPosition();
|
nsPoint oldPosition = aKidFrame->GetPosition();
|
||||||
nsPoint newPosition = oldPosition;
|
nsPoint newPosition = oldPosition;
|
||||||
|
Loading…
Reference in New Issue
Block a user