Bug 794693, part 1: Refactor nsHTMLReflowState constructor to allow initialization to be done by caller. [r=dbaron]
This commit is contained in:
@@ -684,7 +684,7 @@ nsFlexContainerFrame::AppendFlexItemForChild(
|
||||
aChildFrame,
|
||||
nsSize(aParentReflowState.ComputedWidth(),
|
||||
NS_UNCONSTRAINEDSIZE),
|
||||
-1, -1, false);
|
||||
-1, -1, nsHTMLReflowState::CALLER_WILL_INIT);
|
||||
childRSForMeasuringHeight.mFlags.mIsFlexContainerMeasuringHeight = true;
|
||||
childRSForMeasuringHeight.Init(aPresContext);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user