Bug 722510: Remove unused argument from nsBlockFrame::DrainOverflowLines. r=roc

This commit is contained in:
Daniel Holbert 2012-01-30 15:35:03 -08:00
parent 05abb87c96
commit 643dbd2e39
2 changed files with 3 additions and 3 deletions

View File

@ -1012,7 +1012,7 @@ nsBlockFrame::Reflow(nsPresContext* aPresContext,
// ALWAYS drain overflow. We never want to leave the previnflow's
// overflow lines hanging around; block reflow depends on the
// overflow line lists being cleared out between reflow passes.
DrainOverflowLines(state);
DrainOverflowLines();
// Handle paginated overflow (see nsContainerFrame.h)
nsOverflowAreas ocBounds;
@ -4439,7 +4439,7 @@ nsBlockFrame::PushLines(nsBlockReflowState& aState,
// the invariant that the property is never set if the list is empty.
bool
nsBlockFrame::DrainOverflowLines(nsBlockReflowState& aState)
nsBlockFrame::DrainOverflowLines()
{
#ifdef DEBUG
VerifyOverflowSituation();

View File

@ -452,7 +452,7 @@ protected:
* part of this block's mLines list.
* @return true if any lines were drained.
*/
bool DrainOverflowLines(nsBlockReflowState& aState);
bool DrainOverflowLines();
/** grab pushed floats from this block's prevInFlow, and splice
* them into this block's mFloats list.