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
Родитель 921b6093ca
Коммит 57c05d58e1
3 изменённых файлов: 1 добавлений и 4 удалений

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

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

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

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

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

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