diff options
author | Job Bautista <jobbautista9@protonmail.com> | 2022-06-17 16:05:57 +0800 |
---|---|---|
committer | Job Bautista <jobbautista9@protonmail.com> | 2022-06-17 16:05:57 +0800 |
commit | b3cacb2c3ac849f70a2746b252fe0874ffe41e33 (patch) | |
tree | c3c1d0fa9665c5050b958d1c3dc3b4c60abd970e /layout/mathml/nsMathMLmunderoverFrame.cpp | |
parent | 5652238ba898931d9705c9df37259284bb76619e (diff) | |
download | uxp-b3cacb2c3ac849f70a2746b252fe0874ffe41e33.tar.gz |
Issue #1916 - Part 1: Convert flags passed to ReflowChild, FinishReflowChild, etc into an enum class.
Backported from Mozilla bug 1571250.
Diffstat (limited to 'layout/mathml/nsMathMLmunderoverFrame.cpp')
-rw-r--r-- | layout/mathml/nsMathMLmunderoverFrame.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/layout/mathml/nsMathMLmunderoverFrame.cpp b/layout/mathml/nsMathMLmunderoverFrame.cpp index 8fb932719d..e152e3c2fa 100644 --- a/layout/mathml/nsMathMLmunderoverFrame.cpp +++ b/layout/mathml/nsMathMLmunderoverFrame.cpp @@ -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; |