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:
@@ -193,7 +193,7 @@ nsProgressFrame::ReflowBarFrame(nsIFrame* aBarFrame,
|
||||
xoffset += reflowState.ComputedPhysicalMargin().left;
|
||||
yoffset += reflowState.ComputedPhysicalMargin().top;
|
||||
|
||||
nsHTMLReflowMetrics barDesiredSize(aReflowState.GetWritingMode());
|
||||
nsHTMLReflowMetrics barDesiredSize(aReflowState);
|
||||
ReflowChild(aBarFrame, aPresContext, barDesiredSize, reflowState, xoffset,
|
||||
yoffset, 0, aStatus);
|
||||
FinishReflowChild(aBarFrame, aPresContext, barDesiredSize, &reflowState,
|
||||
|
||||
Reference in New Issue
Block a user