Bug 1546223 Part 4 - Mechanically replace pointer with Maybe for ReflowInput's optional containing block size. r=dholbert

There's no behavior change in this patch.

Differential Revision: https://phabricator.services.mozilla.com/D28426
This commit is contained in:
Ting-Yu Lin
2019-04-24 17:35:31 +00:00
parent a29d05231b
commit fbf66d03ae
18 changed files with 49 additions and 52 deletions

View File

@@ -622,10 +622,10 @@ void nsTextControlFrame::ReflowTextControlChild(
availSize.BSize(wm) = NS_UNCONSTRAINEDSIZE;
ReflowInput kidReflowInput(aPresContext, aReflowInput, aKid, availSize,
nullptr, ReflowInput::CALLER_WILL_INIT);
Nothing(), ReflowInput::CALLER_WILL_INIT);
// Override padding with our computed padding in case we got it from theming
// or percentage
kidReflowInput.Init(aPresContext, nullptr, nullptr,
kidReflowInput.Init(aPresContext, Nothing(), nullptr,
&aReflowInput.ComputedPhysicalPadding());
// Set computed width and computed height for the child