Bug 836899: Remove nsBlockReflowState constructor unused parameter 'aMetrics'. r=dbaron

This commit is contained in:
Daniel Holbert 2013-01-31 14:40:05 -08:00
parent d23fc23d21
commit 8f9051e747
3 changed files with 1 additions and 4 deletions

View File

@ -993,7 +993,7 @@ nsBlockFrame::Reflow(nsPresContext* aPresContext,
bool topMarginRoot, bottomMarginRoot;
IsMarginRoot(&topMarginRoot, &bottomMarginRoot);
nsBlockReflowState state(*reflowState, aPresContext, this, aMetrics,
nsBlockReflowState state(*reflowState, aPresContext, this,
topMarginRoot, bottomMarginRoot, needFloatManager);
#ifdef IBMBIDI

View File

@ -32,7 +32,6 @@ using namespace mozilla::layout;
nsBlockReflowState::nsBlockReflowState(const nsHTMLReflowState& aReflowState,
nsPresContext* aPresContext,
nsBlockFrame* aFrame,
const nsHTMLReflowMetrics& aMetrics,
bool aTopMarginRoot,
bool aBottomMarginRoot,
bool aBlockNeedsFloatManager)
@ -77,7 +76,6 @@ nsBlockReflowState::nsBlockReflowState(const nsHTMLReflowState& aReflowState,
mReflowStatus = NS_FRAME_COMPLETE;
mPresContext = aPresContext;
mNextInFlow = static_cast<nsBlockFrame*>(mBlock->GetNextInFlow());
NS_WARN_IF_FALSE(NS_UNCONSTRAINEDSIZE != aReflowState.ComputedWidth(),

View File

@ -36,7 +36,6 @@ public:
nsBlockReflowState(const nsHTMLReflowState& aReflowState,
nsPresContext* aPresContext,
nsBlockFrame* aFrame,
const nsHTMLReflowMetrics& aMetrics,
bool aTopMarginRoot, bool aBottomMarginRoot,
bool aBlockNeedsFloatManager);