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/base/nsXMLContentSerializer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dom/base/nsXMLContentSerializer.cpp') diff --git a/dom/base/nsXMLContentSerializer.cpp b/dom/base/nsXMLContentSerializer.cpp index 1bf075875f..e5cf12f638 100644 --- a/dom/base/nsXMLContentSerializer.cpp +++ b/dom/base/nsXMLContentSerializer.cpp @@ -1442,7 +1442,7 @@ nsXMLContentSerializer::AppendFormatedWrapped_WhitespaceSequence( case ' ': case '\t': sawBlankOrTab = true; - MOZ_FALLTHROUGH; + [[fallthrough]]; case '\n': ++aPos; // do not increase mColPos, -- cgit v1.2.3