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/forms/nsDateTimeControlFrame.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/forms/nsDateTimeControlFrame.cpp')
-rw-r--r-- | layout/forms/nsDateTimeControlFrame.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/layout/forms/nsDateTimeControlFrame.cpp b/layout/forms/nsDateTimeControlFrame.cpp index fa22dcebac..145a2d4724 100644 --- a/layout/forms/nsDateTimeControlFrame.cpp +++ b/layout/forms/nsDateTimeControlFrame.cpp @@ -233,8 +233,8 @@ nsDateTimeControlFrame::Reflow(nsPresContext* aPresContext, // will be fixed later. const nsSize dummyContainerSize; ReflowChild(inputAreaFrame, aPresContext, childDesiredSize, - childReflowOuput, myWM, childOffset, dummyContainerSize, 0, - childStatus); + childReflowOuput, myWM, childOffset, dummyContainerSize, + ReflowChildFlags::Default, childStatus); MOZ_ASSERT(NS_FRAME_IS_FULLY_COMPLETE(childStatus), "We gave our child unconstrained available block-size, " "so it should be complete"); @@ -271,7 +271,8 @@ nsDateTimeControlFrame::Reflow(nsPresContext* aPresContext, // Place the child FinishReflowChild(inputAreaFrame, aPresContext, childDesiredSize, - &childReflowOuput, myWM, childOffset, borderBoxSize, 0); + &childReflowOuput, myWM, childOffset, borderBoxSize, + ReflowChildFlags::Default); nsSize contentBoxSize = LogicalSize(myWM, contentBoxISize, contentBoxBSize). |