--- ui/native_theme/native_theme_features.cc.orig 2024-11-14 07:57:23 UTC +++ ui/native_theme/native_theme_features.cc @@ -65,7 +65,7 @@ bool IsOverlayScrollbarEnabled() { bool IsFluentScrollbarEnabled() { // Fluent scrollbars are only used for some OSes due to UI design guidelines. -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return base::FeatureList::IsEnabled(features::kFluentScrollbar) || IsFluentOverlayScrollbarEnabled(); #else @@ -74,7 +74,7 @@ bool IsFluentScrollbarEnabled() { } bool IsFluentOverlayScrollbarEnabled() { // Fluent scrollbars are only used for some OSes due to UI design guidelines. -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return base::FeatureList::IsEnabled(features::kFluentOverlayScrollbar); #else return false;