summaryrefslogtreecommitdiff
path: root/layout/style/Declaration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/Declaration.cpp')
-rw-r--r--layout/style/Declaration.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/layout/style/Declaration.cpp b/layout/style/Declaration.cpp
index 6ef53f5db1..9a196ef27b 100644
--- a/layout/style/Declaration.cpp
+++ b/layout/style/Declaration.cpp
@@ -770,7 +770,7 @@ Declaration::GetPropertyValueInternal(
}
// tweak aProperty and fall through
aProperty = eCSSProperty_border_top;
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
}
case eCSSProperty_border_top:
case eCSSProperty_border_right:
@@ -1321,7 +1321,7 @@ Declaration::GetPropertyValueInternal(
return;
}
// Fall through to eCSSProperty_grid_template (syntax #1)
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
}
case eCSSProperty_grid_template: {
const nsCSSValue& areasValue =
@@ -1466,7 +1466,7 @@ Declaration::GetPropertyValueInternal(
!justify || !IsSingleValue(*justify)) {
return; // Not serializable, bail.
}
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
}
case eCSSProperty_gap: {
const nsCSSPropertyID* subprops =