mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-17 18:03:06 +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
|
|
@ -460,10 +460,10 @@ nsComboboxControlFrame::ReflowDropdown(nsPresContext* aPresContext,
|
|||
|
||||
// Allow the child to move/size/change-visibility its view if it's currently
|
||||
// dropped down
|
||||
int32_t flags = mDroppedDown ? 0
|
||||
: NS_FRAME_NO_MOVE_FRAME |
|
||||
NS_FRAME_NO_VISIBILITY |
|
||||
NS_FRAME_NO_SIZE_VIEW;
|
||||
ReflowChildFlags flags = mDroppedDown ? ReflowChildFlags::Default
|
||||
: ReflowChildFlags::NoMoveFrame |
|
||||
ReflowChildFlags::NoVisibility |
|
||||
ReflowChildFlags::NoSizeView;
|
||||
|
||||
//XXX Can this be different from the dropdown's writing mode?
|
||||
// That would be odd!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue