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. --- gfx/layers/apz/src/GestureEventListener.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gfx/layers/apz/src/GestureEventListener.cpp') diff --git a/gfx/layers/apz/src/GestureEventListener.cpp b/gfx/layers/apz/src/GestureEventListener.cpp index 94ece07ee1..8495252571 100644 --- a/gfx/layers/apz/src/GestureEventListener.cpp +++ b/gfx/layers/apz/src/GestureEventListener.cpp @@ -438,7 +438,7 @@ void GestureEventListener::HandleInputTimeoutLongTap() // just in case MAX_TAP_TIME > ContextMenuDelay cancel MAX_TAP timer // and fall through CancelMaxTapTimeoutTask(); - MOZ_FALLTHROUGH; + [[fallthrough]]; case GESTURE_FIRST_SINGLE_TOUCH_MAX_TAP_DOWN: { SetState(GESTURE_LONG_TOUCH_DOWN); mAsyncPanZoomController->HandleGestureEvent( -- cgit v1.2.3