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:
Ting-Yu Lin
2020-09-11 17:59:21 +00:00
parent 1d0686174b
commit 9ef3f5d242
15 changed files with 71 additions and 64 deletions

View File

@@ -671,7 +671,7 @@ void nsTextControlFrame::ReflowTextControlChild(
availSize.BSize(wm) = NS_UNCONSTRAINEDSIZE;
ReflowInput kidReflowInput(aPresContext, aReflowInput, aKid, availSize,
Nothing(), ReflowInput::CALLER_WILL_INIT);
Nothing(), ReflowInput::InitFlag::CallerWillInit);
// Override padding with our computed padding in case we got it from theming
// or percentage.
kidReflowInput.Init(aPresContext, Nothing(), nullptr,