Fix some debug assertions.

refactored code porting in assertions causing debug build failures.
This commit is contained in:
Moonchild 2022-10-03 20:00:02 +00:00 committed by roytam1
commit 1868e88741
7 changed files with 7 additions and 9 deletions

View file

@ -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));