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/svg | |
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/svg')
-rw-r--r-- | layout/svg/nsSVGForeignObjectFrame.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/layout/svg/nsSVGForeignObjectFrame.cpp b/layout/svg/nsSVGForeignObjectFrame.cpp index f8584a4f1e..f917f60890 100644 --- a/layout/svg/nsSVGForeignObjectFrame.cpp +++ b/layout/svg/nsSVGForeignObjectFrame.cpp @@ -562,11 +562,12 @@ nsSVGForeignObjectFrame::DoReflow() reflowInput.SetComputedBSize(BSize(wm)); ReflowChild(kid, presContext, desiredSize, reflowInput, 0, 0, - NS_FRAME_NO_MOVE_FRAME, status); + ReflowChildFlags::NoMoveFrame, status); NS_ASSERTION(mRect.width == desiredSize.Width() && - mRect.height == desiredSize.Height(), "unexpected size"); + mRect.height == desiredSize.Height(), + "unexpected size"); FinishReflowChild(kid, presContext, desiredSize, &reflowInput, 0, 0, - NS_FRAME_NO_MOVE_FRAME); + ReflowChildFlags::NoMoveFrame); mInReflow = false; } |