diff options
author | Andy <webmaster@RealityRipple.com> | 2020-08-02 08:01:58 -0700 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-08-07 21:28:03 +0000 |
commit | 83ae5bd01967dc8eceba5b4c16ff380ac3679406 (patch) | |
tree | 7267a38412ffcb04362b1f45b1608e95e0146739 /layout/generic/nsFlexContainerFrame.cpp | |
parent | c237a54f23ec968feffc6e86870abd512414829a (diff) | |
download | UXP-83ae5bd01967dc8eceba5b4c16ff380ac3679406.tar UXP-83ae5bd01967dc8eceba5b4c16ff380ac3679406.tar.gz UXP-83ae5bd01967dc8eceba5b4c16ff380ac3679406.tar.lz UXP-83ae5bd01967dc8eceba5b4c16ff380ac3679406.tar.xz UXP-83ae5bd01967dc8eceba5b4c16ff380ac3679406.zip |
Issue #1619 - Nits Picked
Diffstat (limited to 'layout/generic/nsFlexContainerFrame.cpp')
-rw-r--r-- | layout/generic/nsFlexContainerFrame.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layout/generic/nsFlexContainerFrame.cpp b/layout/generic/nsFlexContainerFrame.cpp index a76097e1e..a03d777e7 100644 --- a/layout/generic/nsFlexContainerFrame.cpp +++ b/layout/generic/nsFlexContainerFrame.cpp @@ -1529,9 +1529,9 @@ MainSizeFromAspectRatio(nscoord aCrossSize, { MOZ_ASSERT(aIntrinsicRatio, "Invalid ratio; will divide by 0! Caller should've checked..."); - AspectRatio ratio = aAxisTracker.IsMainAxisHorizontal() - ? aIntrinsicRatio - : aIntrinsicRatio.Inverted(); + AspectRatio ratio = aAxisTracker.IsMainAxisHorizontal() ? + aIntrinsicRatio : + aIntrinsicRatio.Inverted(); return ratio.ApplyTo(aCrossSize); } |