From 66b246d165530330960d004b56d4419c1c5d0acb Mon Sep 17 00:00:00 2001 From: Ting-Yu Lin Date: Thu, 15 Dec 2022 21:58:30 +0000 Subject: [PATCH] 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 --- layout/generic/nsFlexContainerFrame.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/generic/nsFlexContainerFrame.cpp b/layout/generic/nsFlexContainerFrame.cpp index 3be51e421a53..3dd85ba5da0c 100644 --- a/layout/generic/nsFlexContainerFrame.cpp +++ b/layout/generic/nsFlexContainerFrame.cpp @@ -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()) {