summaryrefslogtreecommitdiff
path: root/widget/cocoa
diff options
context:
space:
mode:
Diffstat (limited to 'widget/cocoa')
-rw-r--r--widget/cocoa/nsChildView.mm2
-rw-r--r--widget/cocoa/nsNativeThemeCocoa.mm2
2 files changed, 2 insertions, 2 deletions
diff --git a/widget/cocoa/nsChildView.mm b/widget/cocoa/nsChildView.mm
index a3a3bacbf9..f9e27fc82c 100644
--- a/widget/cocoa/nsChildView.mm
+++ b/widget/cocoa/nsChildView.mm
@@ -1723,7 +1723,7 @@ nsChildView::GetInputContext()
break;
}
// If mTextInputHandler is null, set CLOSED instead...
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
default:
mInputContext.mIMEState.mOpen = IMEState::CLOSED;
break;
diff --git a/widget/cocoa/nsNativeThemeCocoa.mm b/widget/cocoa/nsNativeThemeCocoa.mm
index 056c453f2a..e4e3492bff 100644
--- a/widget/cocoa/nsNativeThemeCocoa.mm
+++ b/widget/cocoa/nsNativeThemeCocoa.mm
@@ -3619,7 +3619,7 @@ nsNativeThemeCocoa::ThemeSupportsWidget(nsPresContext* aPresContext, nsIFrame* a
if (aFrame && aFrame->GetWritingMode().IsVertical()) {
return false;
}
- MOZ_FALLTHROUGH;
+ [[fallthrough]]
case NS_THEME_LISTBOX: