summaryrefslogtreecommitdiff
path: root/layout/xul/nsXULPopupManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layout/xul/nsXULPopupManager.cpp')
-rw-r--r--layout/xul/nsXULPopupManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/layout/xul/nsXULPopupManager.cpp b/layout/xul/nsXULPopupManager.cpp
index 6e8cc3dda1..99cbd421dd 100644
--- a/layout/xul/nsXULPopupManager.cpp
+++ b/layout/xul/nsXULPopupManager.cpp
@@ -2336,7 +2336,7 @@ nsXULPopupManager::HandleKeyboardEventWithKeyCode(
Rollup(0, false, nullptr, nullptr);
break;
}
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
#endif
case nsIDOMKeyEvent::DOM_VK_LEFT:
@@ -2380,7 +2380,7 @@ nsXULPopupManager::HandleKeyboardEventWithKeyCode(
break;
}
// Intentional fall-through to RETURN case
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case nsIDOMKeyEvent::DOM_VK_RETURN: {
// If there is a popup open, check if the current item needs to be opened.