bug 735577 - followup 1 (v2) - allow reflow-state to be passed to the reflow-metrics constructor to get the writing mode. r=roc
This commit is contained in:
@@ -133,7 +133,7 @@ nsNumberControlFrame::Reflow(nsPresContext* aPresContext,
|
||||
} else {
|
||||
NS_ASSERTION(outerWrapperFrame == mFrames.FirstChild(), "huh?");
|
||||
|
||||
nsHTMLReflowMetrics wrappersDesiredSize(aReflowState.GetWritingMode());
|
||||
nsHTMLReflowMetrics wrappersDesiredSize(aReflowState);
|
||||
|
||||
nsHTMLReflowState wrapperReflowState(aPresContext, aReflowState,
|
||||
outerWrapperFrame,
|
||||
|
||||
Reference in New Issue
Block a user