summaryrefslogtreecommitdiff
path: root/widget/gtk/nsNativeThemeGTK.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'widget/gtk/nsNativeThemeGTK.cpp')
-rw-r--r--widget/gtk/nsNativeThemeGTK.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/gtk/nsNativeThemeGTK.cpp b/widget/gtk/nsNativeThemeGTK.cpp
index cb4e7debf2..cfb9ef7eda 100644
--- a/widget/gtk/nsNativeThemeGTK.cpp
+++ b/widget/gtk/nsNativeThemeGTK.cpp
@@ -1306,7 +1306,7 @@ nsNativeThemeGTK::GetWidgetBorder(nsDeviceContext* aContext, nsIFrame* aFrame,
// will need to fall through and use the default case as before.
if (IsRegularMenuItem(aFrame))
break;
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
default:
{
WidgetNodeType gtkWidgetType;
@@ -1847,7 +1847,7 @@ nsNativeThemeGTK::ThemeSupportsWidget(nsPresContext* aPresContext,
if (aFrame && aFrame->GetWritingMode().IsVertical()) {
return false;
}
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case NS_THEME_BUTTON:
case NS_THEME_BUTTON_FOCUS: