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

@@ -9591,7 +9591,7 @@ bool PresShell::DoReflow(nsIFrame* target, bool aInterruptible,
// constrained height implies page/column breaking.
LogicalSize reflowSize(wm, size.ISize(wm), NS_UNCONSTRAINEDSIZE);
ReflowInput reflowInput(mPresContext, target, rcx, reflowSize,
ReflowInput::CALLER_WILL_INIT);
ReflowInput::InitFlag::CallerWillInit);
reflowInput.mOrthogonalLimit = size.BSize(wm);
if (isRoot) {