mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
Merge remote-tracking branch 'origin/tracking' into custom
This commit is contained in:
commit
15458344bf
9 changed files with 10 additions and 9 deletions
|
|
@ -5887,7 +5887,6 @@ nsGridContainerFrame::ReflowChildren(GridReflowInput& aState,
|
|||
nsReflowStatus& aStatus)
|
||||
{
|
||||
MOZ_ASSERT(aState.mReflowInput);
|
||||
MOZ_ASSERT(aStatus.IsEmpty(), "Caller should pass a fresh reflow status!");
|
||||
|
||||
aStatus = NS_FRAME_COMPLETE;
|
||||
nsOverflowAreas ocBounds;
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ nsPageContentFrame::Reflow(nsPresContext* aPresContext,
|
|||
FinishReflowChild(frame, aPresContext, aDesiredSize, &kidReflowInput, 0, 0,
|
||||
ReflowChildFlags::Default);
|
||||
|
||||
NS_ASSERTION(aPresContext->IsDynamic() || !aStatus.IsFullyComplete() ||
|
||||
NS_ASSERTION(aPresContext->IsDynamic() || !NS_FRAME_IS_FULLY_COMPLETE(aStatus) ||
|
||||
!frame->GetNextInFlow(),
|
||||
"bad child flow list");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ nsPageFrame::Reflow(nsPresContext* aPresContext,
|
|||
FinishReflowChild(frame, aPresContext, aDesiredSize, &kidReflowInput, xc,
|
||||
yc, ReflowChildFlags::Default);
|
||||
|
||||
NS_ASSERTION(!aStatus.IsFullyComplete() || !frame->GetNextInFlow(),
|
||||
NS_ASSERTION(!NS_FRAME_IS_FULLY_COMPLETE(aStatus) || !frame->GetNextInFlow(),
|
||||
"bad child flow list");
|
||||
}
|
||||
PR_PL(("PageFrame::Reflow %p ", this));
|
||||
|
|
|
|||
|
|
@ -337,7 +337,7 @@ nsVideoFrame::Reflow(nsPresContext* aPresContext,
|
|||
ReflowChild(imageFrame, aPresContext, kidDesiredSize, kidReflowInput,
|
||||
posterRenderRect.x, posterRenderRect.y,
|
||||
ReflowChildFlags::Default, childStatus);
|
||||
MOZ_ASSERT(childStatus.IsFullyComplete(),
|
||||
MOZ_ASSERT(NS_FRAME_IS_FULLY_COMPLETE(childStatus),
|
||||
"We gave our child unconstrained available block-size, "
|
||||
"so it should be complete!");
|
||||
|
||||
|
|
@ -380,7 +380,7 @@ nsVideoFrame::Reflow(nsPresContext* aPresContext,
|
|||
ReflowChild(child, aPresContext, kidDesiredSize, kidReflowInput,
|
||||
mBorderPadding.left, mBorderPadding.top,
|
||||
ReflowChildFlags::Default, childStatus);
|
||||
MOZ_ASSERT(childStatus.IsFullyComplete(),
|
||||
MOZ_ASSERT(NS_FRAME_IS_FULLY_COMPLETE(childStatus),
|
||||
"We gave our child unconstrained available block-size, "
|
||||
"so it should be complete!");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue