From 734f0957fb8bc06ae6e5105d878f1b7007ce8b5d Mon Sep 17 00:00:00 2001 From: Moonchild Date: Sat, 11 Nov 2023 14:27:03 +0100 Subject: Issue #2343 - replace MOZ_FALLTHROUGH with [[fallthrough]] Basically a S&R. Removed the macro and adjusts IDL codegen accordingly. --- dom/animation/TimingParams.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dom/animation/TimingParams.cpp') diff --git a/dom/animation/TimingParams.cpp b/dom/animation/TimingParams.cpp index f387f460f8..8c64224a6e 100644 --- a/dom/animation/TimingParams.cpp +++ b/dom/animation/TimingParams.cpp @@ -135,7 +135,7 @@ TimingParams::ParseEasing(const nsAString& aEasing, NS_STYLE_TRANSITION_TIMING_FUNCTION_LINEAR) { return Nothing(); } - MOZ_FALLTHROUGH; + [[fallthrough]]; case eCSSUnit_Cubic_Bezier: case eCSSUnit_Steps: { nsTimingFunction timingFunction; -- cgit v1.2.3