--- ui/native_theme/native_theme_features.cc.orig 2024-01-30 07:53:34 UTC +++ ui/native_theme/native_theme_features.cc @@ -54,7 +54,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 @@ -63,7 +63,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;