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. --- layout/style/nsComputedDOMStyle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layout/style/nsComputedDOMStyle.cpp') diff --git a/layout/style/nsComputedDOMStyle.cpp b/layout/style/nsComputedDOMStyle.cpp index 65f42805de..e3f931ea7e 100644 --- a/layout/style/nsComputedDOMStyle.cpp +++ b/layout/style/nsComputedDOMStyle.cpp @@ -4109,7 +4109,7 @@ nsComputedDOMStyle::DoGetTextSizeAdjust() switch (StyleText()->mTextSizeAdjust) { default: NS_NOTREACHED("unexpected value"); - MOZ_FALLTHROUGH; + [[fallthrough]]; case NS_STYLE_TEXT_SIZE_ADJUST_AUTO: val->SetIdent(eCSSKeyword_auto); break; -- cgit v1.2.3