summaryrefslogtreecommitdiffstats
path: root/widget/Theme.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'widget/Theme.cpp')
-rw-r--r--widget/Theme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/Theme.cpp b/widget/Theme.cpp
index 35c53240e5..1fcd3d4bc3 100644
--- a/widget/Theme.cpp
+++ b/widget/Theme.cpp
@@ -1562,7 +1562,7 @@ UniquePtr<ScrollbarDrawing> Theme::ScrollbarStyle() {
return MakeUnique<ScrollbarDrawingWin11>();
}
return MakeUnique<ScrollbarDrawingWin>();
-#elif MOZ_WIDGET_COCOA
+#elif defined(MOZ_WIDGET_COCOA) || defined(MOZ_WIDGET_UIKIT)
return MakeUnique<ScrollbarDrawingCocoa>();
#elif MOZ_WIDGET_GTK
return MakeUnique<ScrollbarDrawingGTK>();