summaryrefslogtreecommitdiff
path: root/dom/events/EventStateManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/events/EventStateManager.cpp')
-rw-r--r--dom/events/EventStateManager.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/dom/events/EventStateManager.cpp b/dom/events/EventStateManager.cpp
index 935281916b..c1418e5375 100644
--- a/dom/events/EventStateManager.cpp
+++ b/dom/events/EventStateManager.cpp
@@ -654,7 +654,7 @@ EventStateManager::PreHandleEvent(nsPresContext* aPresContext,
StopTrackingDragGesture();
sNormalLMouseEventInProcess = false;
// then fall through...
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case WidgetMouseEvent::eRightButton:
case WidgetMouseEvent::eMiddleButton:
SetClickCount(mouseEvent, aStatus);
@@ -708,7 +708,7 @@ EventStateManager::PreHandleEvent(nsPresContext* aPresContext,
aEvent->mMessage = eVoidEvent;
break;
}
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case eMouseMove:
case ePointerDown:
case ePointerMove: {
@@ -774,7 +774,7 @@ EventStateManager::PreHandleEvent(nsPresContext* aPresContext,
}
}
// then fall through...
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case eBeforeKeyDown:
case eKeyDown:
case eAfterKeyDown:
@@ -3153,7 +3153,7 @@ EventStateManager::PostHandleEvent(nsPresContext* aPresContext,
}
// After firing the pointercancel event, a user agent must also fire a
// pointerout event followed by a pointerleave event.
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
}
case ePointerUp: {
WidgetPointerEvent* pointerEvent = aEvent->AsPointerEvent();
@@ -4272,7 +4272,7 @@ EventStateManager::GenerateMouseEnterExit(WidgetMouseEvent* aMouseEvent)
// Update the last known mRefPoint with the current mRefPoint.
sLastRefPoint = aMouseEvent->mRefPoint;
}
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case ePointerMove:
case ePointerDown:
case ePointerGotCapture: