mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 836899: Remove nsBlockReflowState constructor unused parameter 'aMetrics'. r=dbaron
This commit is contained in:
parent
d23fc23d21
commit
8f9051e747
@ -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
|
||||
|
@ -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(),
|
||||
|
@ -36,7 +36,6 @@ public:
|
||||
nsBlockReflowState(const nsHTMLReflowState& aReflowState,
|
||||
nsPresContext* aPresContext,
|
||||
nsBlockFrame* aFrame,
|
||||
const nsHTMLReflowMetrics& aMetrics,
|
||||
bool aTopMarginRoot, bool aBottomMarginRoot,
|
||||
bool aBlockNeedsFloatManager);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user