зеркало из https://github.com/mozilla/gecko-dev.git
Bug 836899: Remove nsBlockReflowState constructor unused parameter 'aMetrics'. r=dbaron
This commit is contained in:
Родитель
921b6093ca
Коммит
57c05d58e1
|
@ -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);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче