summaryrefslogtreecommitdiff
path: root/layout/generic/nsFlexContainerFrame.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-11-12 20:30:17 +0000
committerMoonchild <moonchild@palemoon.org>2023-11-12 20:30:17 +0000
commitdb4ddc5f6855fdd89cf2af9090f78fb7ebb7f032 (patch)
tree8036ebc434967a0cde3de705a16faea54d117bfd /layout/generic/nsFlexContainerFrame.cpp
parentc789882a294d29b3e5450a972ad67c4839c75e23 (diff)
parent9c75c8235e13e0f8309b11fa138253350bce0dd5 (diff)
downloaduxp-db4ddc5f6855fdd89cf2af9090f78fb7ebb7f032.tar.gz
Merge pull request 'Replace MOZ_FALLTHROUGH with [[fallthrough]]' (#2379) from 2343-fallthrough-work into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2379
Diffstat (limited to 'layout/generic/nsFlexContainerFrame.cpp')
-rw-r--r--layout/generic/nsFlexContainerFrame.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/layout/generic/nsFlexContainerFrame.cpp b/layout/generic/nsFlexContainerFrame.cpp
index d60308f424..2fc90e9da9 100644
--- a/layout/generic/nsFlexContainerFrame.cpp
+++ b/layout/generic/nsFlexContainerFrame.cpp
@@ -3012,7 +3012,7 @@ MainAxisPositionTracker::
case NS_STYLE_JUSTIFY_BASELINE:
case NS_STYLE_JUSTIFY_LAST_BASELINE:
NS_WARNING("NYI: justify-content:left/right/baseline/last baseline");
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case NS_STYLE_JUSTIFY_FLEX_START:
// All packing space should go at the end --> nothing to do here.
break;
@@ -3220,7 +3220,7 @@ CrossAxisPositionTracker::
case NS_STYLE_ALIGN_BASELINE:
case NS_STYLE_ALIGN_LAST_BASELINE:
NS_WARNING("NYI: align-items/align-self:left/right/self-start/self-end/baseline/last baseline");
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case NS_STYLE_ALIGN_FLEX_START:
// All packing space should go at the end --> nothing to do here.
break;
@@ -3522,7 +3522,7 @@ SingleLineCrossAxisPositionTracker::
case NS_STYLE_ALIGN_SELF_START:
case NS_STYLE_ALIGN_SELF_END:
NS_WARNING("NYI: align-items/align-self:left/right/self-start/self-end");
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case NS_STYLE_ALIGN_FLEX_START:
// No space to skip over -- we're done.
break;