Bug 1663822 Part 6 - Convert the anonymous enum controlling ReflowInput's behavior into an EnumSet. r=dholbert
This change shouldn't change behavior. Differential Revision: https://phabricator.services.mozilla.com/D89545
This commit is contained in:
@@ -279,7 +279,7 @@ void nsTableWrapperFrame::GetChildMargin(nsPresContext* aPresContext,
|
||||
WritingMode wm = aOuterRI.GetWritingMode();
|
||||
LogicalSize availSize(wm, aAvailISize, aOuterRI.AvailableSize(wm).BSize(wm));
|
||||
ReflowInput childRI(aPresContext, aOuterRI, aChildFrame, availSize, Nothing(),
|
||||
ReflowInput::CALLER_WILL_INIT);
|
||||
ReflowInput::InitFlag::CallerWillInit);
|
||||
InitChildReflowInput(*aPresContext, aOuterRI, childRI);
|
||||
|
||||
aMargin = childRI.ComputedLogicalMargin();
|
||||
@@ -741,7 +741,7 @@ void nsTableWrapperFrame::OuterBeginReflowChild(nsPresContext* aPresContext,
|
||||
// create and init the child reflow input, using passed-in Maybe<>,
|
||||
// so that caller can use it after we return.
|
||||
aChildRI.emplace(aPresContext, aOuterRI, aChildFrame, availSize, Nothing(),
|
||||
ReflowInput::CALLER_WILL_INIT);
|
||||
ReflowInput::InitFlag::CallerWillInit);
|
||||
InitChildReflowInput(*aPresContext, aOuterRI, *aChildRI);
|
||||
|
||||
// see if we need to reset top-of-page due to a caption
|
||||
|
||||
Reference in New Issue
Block a user