Bug 1804997 Part 2 - Rename areChildrenComplete to anyChildIncomplete. r=dholbert

This is a follow-up of Bug 1622935 Part 1
https://hg.mozilla.org/mozilla-central/rev/78d4dfbda06a

The variable storing the return value of ReflowChildren should be renamed, too.

Differential Revision: https://phabricator.services.mozilla.com/D164397
This commit is contained in:
Ting-Yu Lin 2022-12-15 21:58:30 +00:00
parent 457f6eb83e
commit 66b246d165

View File

@ -4589,7 +4589,7 @@ void nsFlexContainerFrame::Reflow(nsPresContext* aPresContext,
const LogicalSize availableSizeForItems =
ComputeAvailableSizeForItems(aReflowInput, borderPadding);
const auto [maxBlockEndEdgeOfChildren, areChildrenComplete] =
const auto [maxBlockEndEdgeOfChildren, anyChildIncomplete] =
ReflowChildren(aReflowInput, containerSize, availableSizeForItems,
borderPadding, sumOfChildrenBlockSize, axisTracker, flr);
@ -4607,7 +4607,7 @@ void nsFlexContainerFrame::Reflow(nsPresContext* aPresContext,
PopulateReflowOutput(aReflowOutput, aReflowInput, aStatus, contentBoxSize,
borderPadding, consumedBSize, mayNeedNextInFlow,
maxBlockEndEdgeOfChildren, areChildrenComplete,
maxBlockEndEdgeOfChildren, anyChildIncomplete,
flr.mAscent, flr.mLines, axisTracker);
if (wm.IsVerticalRL()) {