mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-19 02:43: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
|
|
@ -1182,8 +1182,8 @@ nsBlockFrame::Reflow(nsPresContext* aPresContext,
|
|||
nsOverflowAreas ocBounds;
|
||||
nsReflowStatus ocStatus = NS_FRAME_COMPLETE;
|
||||
if (GetPrevInFlow()) {
|
||||
ReflowOverflowContainerChildren(aPresContext, *reflowInput, ocBounds, 0,
|
||||
ocStatus);
|
||||
ReflowOverflowContainerChildren(aPresContext, *reflowInput, ocBounds,
|
||||
ReflowChildFlags::Default, ocStatus);
|
||||
}
|
||||
|
||||
// Now that we're done cleaning up our overflow container lists, we can
|
||||
|
|
@ -6297,10 +6297,9 @@ nsBlockFrame::ReflowFloat(BlockReflowInput& aState,
|
|||
WritingMode metricsWM = metrics.GetWritingMode();
|
||||
aFloat->SetSize(metricsWM, metrics.Size(metricsWM));
|
||||
if (aFloat->HasView()) {
|
||||
nsContainerFrame::SyncFrameViewAfterReflow(aState.mPresContext, aFloat,
|
||||
aFloat->GetView(),
|
||||
metrics.VisualOverflow(),
|
||||
NS_FRAME_NO_MOVE_VIEW);
|
||||
nsContainerFrame::SyncFrameViewAfterReflow(
|
||||
aState.mPresContext, aFloat, aFloat->GetView(),
|
||||
metrics.VisualOverflow(), ReflowChildFlags::NoMoveView);
|
||||
}
|
||||
// Pass floatRS so the frame hierarchy can be used (redoFloatRS has the same hierarchy)
|
||||
aFloat->DidReflow(aState.mPresContext, &floatRS,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue