diff options
Diffstat (limited to 'www/chromium/files/patch-chrome_browser_themes_theme__helper.cc')
-rw-r--r-- | www/chromium/files/patch-chrome_browser_themes_theme__helper.cc | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/www/chromium/files/patch-chrome_browser_themes_theme__helper.cc b/www/chromium/files/patch-chrome_browser_themes_theme__helper.cc index 8bb75a6947c3..032985e9aeae 100644 --- a/www/chromium/files/patch-chrome_browser_themes_theme__helper.cc +++ b/www/chromium/files/patch-chrome_browser_themes_theme__helper.cc @@ -1,20 +1,11 @@ ---- chrome/browser/themes/theme_helper.cc.orig 2022-07-22 17:30:31 UTC +--- chrome/browser/themes/theme_helper.cc.orig 2022-10-24 13:33:33 UTC +++ chrome/browser/themes/theme_helper.cc -@@ -24,7 +24,7 @@ - #include "ui/native_theme/common_theme.h" +@@ -18,7 +18,7 @@ + #include "ui/gfx/image/image.h" #include "ui/native_theme/native_theme.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - #include "ui/views/linux_ui/linux_ui.h" + #include "ui/linux/linux_ui.h" #endif -@@ -498,7 +498,7 @@ bool ThemeHelper::UseDarkModeColors(const CustomThemeS - - ui::NativeTheme const* native_theme = - ui::NativeTheme::GetInstanceForNativeUi(); --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - if (const auto* linux_ui = views::LinuxUI::instance()) { - // We rely on the fact that the system theme is in use iff `theme_supplier` - // is non-null, but this is cheating. In the future this might not hold |