mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-16 09:23: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
|
|
@ -668,18 +668,20 @@ nsMathMLmunderoverFrame::Place(DrawTarget* aDrawTarget,
|
|||
dy = aDesiredSize.BlockStartAscent() -
|
||||
mBoundingMetrics.ascent + bmOver.ascent -
|
||||
overSize.BlockStartAscent();
|
||||
FinishReflowChild (overFrame, PresContext(), overSize, nullptr, dxOver, dy, 0);
|
||||
FinishReflowChild(overFrame, PresContext(), overSize, nullptr, dxOver, dy,
|
||||
ReflowChildFlags::Default);
|
||||
}
|
||||
// place base
|
||||
dy = aDesiredSize.BlockStartAscent() - baseSize.BlockStartAscent();
|
||||
FinishReflowChild (baseFrame, PresContext(), baseSize, nullptr, dxBase, dy, 0);
|
||||
FinishReflowChild(baseFrame, PresContext(), baseSize, nullptr, dxBase, dy,
|
||||
ReflowChildFlags::Default);
|
||||
// place underscript
|
||||
if (underFrame) {
|
||||
dy = aDesiredSize.BlockStartAscent() +
|
||||
mBoundingMetrics.descent - bmUnder.descent -
|
||||
underSize.BlockStartAscent();
|
||||
FinishReflowChild (underFrame, PresContext(), underSize, nullptr,
|
||||
dxUnder, dy, 0);
|
||||
FinishReflowChild(underFrame, PresContext(), underSize, nullptr,
|
||||
dxUnder, dy, ReflowChildFlags::Default);
|
||||
}
|
||||
}
|
||||
return NS_OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue