diff options
Diffstat (limited to 'layout/style/StyleAnimationValue.cpp')
-rw-r--r-- | layout/style/StyleAnimationValue.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/layout/style/StyleAnimationValue.cpp b/layout/style/StyleAnimationValue.cpp index 2332de6a6a..199bcf16d5 100644 --- a/layout/style/StyleAnimationValue.cpp +++ b/layout/style/StyleAnimationValue.cpp @@ -164,7 +164,7 @@ AppendFunction(nsCSSKeyword aTransformFunction) break; default: NS_ERROR("must be a transform function"); - MOZ_FALLTHROUGH; + [[fallthrough]]; case eCSSKeyword_translatex: case eCSSKeyword_translatey: case eCSSKeyword_translatez: @@ -2005,7 +2005,7 @@ AddWeightedFilterFunctionImpl(double aCoeff1, const nsCSSValueList* aList1, case eCSSKeyword_invert: case eCSSKeyword_sepia: initialVal = 0.0f; - MOZ_FALLTHROUGH; + [[fallthrough]]; case eCSSKeyword_brightness: case eCSSKeyword_contrast: case eCSSKeyword_opacity: @@ -2255,7 +2255,7 @@ AddShapeFunction(nsCSSPropertyID aProperty, resultFuncArgs->Item(2))) { return nullptr; } - MOZ_FALLTHROUGH; // to handle rx and center point + [[fallthrough]]; // to handle rx and center point case eCSSKeyword_circle: { // Add circles' |r| (or ellipses' |rx|) values: if (!AddCSSValuePixelPercentCalc(aRestriction == Restrictions::Enable @@ -2471,7 +2471,7 @@ AddTransformLists(double aCoeff1, const nsCSSValueList* aList1, arr->Item(4)); break; } - MOZ_FALLTHROUGH; + [[fallthrough]]; } case eCSSKeyword_matrix: case eCSSKeyword_matrix3d: @@ -2496,7 +2496,7 @@ AddTransformLists(double aCoeff1, const nsCSSValueList* aList1, } break; } - MOZ_FALLTHROUGH; + [[fallthrough]]; case eCSSKeyword_interpolatematrix: { // FIXME: If the matrix contains only numbers then we could decompose // here. |