diff options
author | Robert Nagy <robert@openbsd.org> | 2022-10-25 11:16:46 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2022-10-27 13:08:22 +0000 |
commit | 74a0f0ebf0c472210e0676fd723d36397f679cc0 (patch) | |
tree | 82919a814aa92dc17bfceffa1a07c1f35b26e5d2 /www/chromium/files/patch-chrome_browser_themes_theme__helper.cc | |
parent | 427a15a973365496da3b18eb3794848e8b39ba0c (diff) | |
download | ports-74a0f0ebf0c472210e0676fd723d36397f679cc0.tar.gz ports-74a0f0ebf0c472210e0676fd723d36397f679cc0.zip |
www/chromium: update to 107.0.5304.68
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 | 11 |
1 files changed, 1 insertions, 10 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 2e1346817b96..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,4 +1,4 @@ ---- chrome/browser/themes/theme_helper.cc.orig 2022-08-31 12:19:35 UTC +--- chrome/browser/themes/theme_helper.cc.orig 2022-10-24 13:33:33 UTC +++ chrome/browser/themes/theme_helper.cc @@ -18,7 +18,7 @@ #include "ui/gfx/image/image.h" @@ -9,12 +9,3 @@ #include "ui/linux/linux_ui.h" #endif -@@ -172,7 +172,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 = ui::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 |