diff options
author | Moonchild <moonchild@palemoon.org> | 2023-11-12 20:30:17 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2023-11-12 20:30:17 +0000 |
commit | db4ddc5f6855fdd89cf2af9090f78fb7ebb7f032 (patch) | |
tree | 8036ebc434967a0cde3de705a16faea54d117bfd /dom/svg/SVGTransformListParser.cpp | |
parent | c789882a294d29b3e5450a972ad67c4839c75e23 (diff) | |
parent | 9c75c8235e13e0f8309b11fa138253350bce0dd5 (diff) | |
download | uxp-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 'dom/svg/SVGTransformListParser.cpp')
-rw-r--r-- | dom/svg/SVGTransformListParser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); |