diff options
Diffstat (limited to 'dom/svg')
-rw-r--r-- | dom/svg/SVGPathSegListSMILType.cpp | 4 | ||||
-rw-r--r-- | dom/svg/SVGTransformListParser.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/dom/svg/SVGPathSegListSMILType.cpp b/dom/svg/SVGPathSegListSMILType.cpp index ba42f494e9..1f03fb8fd6 100644 --- a/dom/svg/SVGPathSegListSMILType.cpp +++ b/dom/svg/SVGPathSegListSMILType.cpp @@ -351,7 +351,7 @@ ConvertPathSegmentData(SVGPathDataAndInfo::const_iterator& aStart, aResult[5] = aStart[5]; aResult[6] = aStart[6]; AdjustSegmentForRelativeness(adjustmentType, aResult + 5, aState); - MOZ_FALLTHROUGH; + [[fallthrough]]; case PATHSEG_CURVETO_QUADRATIC_ABS: case PATHSEG_CURVETO_QUADRATIC_REL: case PATHSEG_CURVETO_CUBIC_SMOOTH_ABS: @@ -359,7 +359,7 @@ ConvertPathSegmentData(SVGPathDataAndInfo::const_iterator& aStart, aResult[3] = aStart[3]; aResult[4] = aStart[4]; AdjustSegmentForRelativeness(adjustmentType, aResult + 3, aState); - MOZ_FALLTHROUGH; + [[fallthrough]]; case PATHSEG_MOVETO_ABS: case PATHSEG_MOVETO_REL: case PATHSEG_LINETO_ABS: diff --git a/dom/svg/SVGTransformListParser.cpp b/dom/svg/SVGTransformListParser.cpp index 77f9fcbbbc..67eb6e513b 100644 --- a/dom/svg/SVGTransformListParser.cpp +++ b/dom/svg/SVGTransformListParser.cpp @@ -142,7 +142,7 @@ SVGTransformListParser::ParseTranslate() switch (count) { case 1: t[1] = 0.f; - MOZ_FALLTHROUGH; + [[fallthrough]]; case 2: { nsSVGTransform* transform = mTransforms.AppendElement(fallible); @@ -170,7 +170,7 @@ SVGTransformListParser::ParseScale() switch (count) { case 1: s[1] = s[0]; - MOZ_FALLTHROUGH; + [[fallthrough]]; case 2: { nsSVGTransform* transform = mTransforms.AppendElement(fallible); @@ -199,7 +199,7 @@ SVGTransformListParser::ParseRotate() switch (count) { case 1: r[1] = r[2] = 0.f; - MOZ_FALLTHROUGH; + [[fallthrough]]; case 3: { nsSVGTransform* transform = mTransforms.AppendElement(fallible); |