mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
(no bug) fix a few whitespace issues in nsFlexContainerFrame.cpp. whitespace-only, DONTBUILD
This commit is contained in:
parent
947e9a9b1a
commit
88a037855a
@ -1142,7 +1142,7 @@ FlexItem::GetBaselineOffsetFromOuterCrossStart(
|
||||
MOZ_ASSERT(!IsAxisHorizontal(aCrossAxis),
|
||||
"Only expecting to be doing baseline computations when the "
|
||||
"cross axis is vertical");
|
||||
|
||||
|
||||
nscoord marginTopToBaseline = mAscent + mMargin.top;
|
||||
|
||||
if (aCrossAxis == eAxis_TB) {
|
||||
@ -1958,7 +1958,7 @@ CrossAxisPositionTracker::
|
||||
for (uint32_t i = 0; i < aLines.Length(); i++) {
|
||||
FlexLine& line = aLines[i];
|
||||
// Our share is the amount of space remaining, divided by the number
|
||||
// of lines remainig.
|
||||
// of lines remainig.
|
||||
nscoord shareOfExtraSpace =
|
||||
mPackingSpaceRemaining / (aLines.Length() - i);
|
||||
nscoord newSize = line.GetLineCrossSize() + shareOfExtraSpace;
|
||||
@ -2004,7 +2004,7 @@ SingleLineCrossAxisPositionTracker::
|
||||
void
|
||||
FlexLine::ComputeCrossSizeAndBaseline(const FlexboxAxisTracker& aAxisTracker)
|
||||
{
|
||||
nscoord crossStartToFurthestBaseline= nscoord_MIN;
|
||||
nscoord crossStartToFurthestBaseline = nscoord_MIN;
|
||||
nscoord crossEndToFurthestBaseline = nscoord_MIN;
|
||||
nscoord largestOuterCrossSize = 0;
|
||||
for (uint32_t i = 0; i < mItems.Length(); ++i) {
|
||||
@ -2483,7 +2483,7 @@ nsFlexContainerFrame::ComputeCrossSize(const nsHTMLReflowState& aReflowState,
|
||||
bool* aIsDefinite,
|
||||
nsReflowStatus& aStatus)
|
||||
{
|
||||
MOZ_ASSERT(aIsDefinite, "outparam pointer must be non-null");
|
||||
MOZ_ASSERT(aIsDefinite, "outparam pointer must be non-null");
|
||||
|
||||
if (IsAxisHorizontal(aAxisTracker.GetCrossAxis())) {
|
||||
// Cross axis is horizontal: our cross size is our computed width
|
||||
|
Loading…
Reference in New Issue
Block a user