diff options
author | Moonchild <moonchild@palemoon.org> | 2023-11-12 17:59:41 +0100 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2023-11-12 17:59:41 +0100 |
commit | d854696ec9495a3fa00956599bcc7d25f6ae75cf (patch) | |
tree | d3df27c18d09db81dc9f4283e60648c81407616a /widget | |
parent | 734f0957fb8bc06ae6e5105d878f1b7007ce8b5d (diff) | |
download | uxp-d854696ec9495a3fa00956599bcc7d25f6ae75cf.tar.gz |
Issue #2343 - Replace missed occurrences in .mm files
Diffstat (limited to 'widget')
-rw-r--r-- | widget/cocoa/nsChildView.mm | 2 | ||||
-rw-r--r-- | widget/cocoa/nsNativeThemeCocoa.mm | 2 |
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: |