mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Issue #1916 - Part 1: Convert flags passed to ReflowChild, FinishReflowChild, etc into an enum class.
Backported from Mozilla bug 1571250.
This commit is contained in:
parent
9cc1870b9f
commit
0423d83560
51 changed files with 365 additions and 303 deletions
|
|
@ -581,12 +581,12 @@ nsTextControlFrame::ReflowTextControlChild(nsIFrame* aKid,
|
|||
|
||||
// reflow the child
|
||||
ReflowOutput desiredSize(aReflowInput);
|
||||
ReflowChild(aKid, aPresContext, desiredSize, kidReflowInput,
|
||||
xOffset, yOffset, 0, aStatus);
|
||||
ReflowChild(aKid, aPresContext, desiredSize, kidReflowInput, xOffset, yOffset,
|
||||
ReflowChildFlags::Default, aStatus);
|
||||
|
||||
// place the child
|
||||
FinishReflowChild(aKid, aPresContext, desiredSize,
|
||||
&kidReflowInput, xOffset, yOffset, 0);
|
||||
FinishReflowChild(aKid, aPresContext, desiredSize, &kidReflowInput, xOffset,
|
||||
yOffset, ReflowChildFlags::Default);
|
||||
|
||||
// consider the overflow
|
||||
aParentDesiredSize.mOverflowAreas.UnionWith(desiredSize.mOverflowAreas);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue