diff options
Diffstat (limited to 'devel/electron39/files/patch-chrome_browser_themes_theme__service.cc')
| -rw-r--r-- | devel/electron39/files/patch-chrome_browser_themes_theme__service.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron39/files/patch-chrome_browser_themes_theme__service.cc b/devel/electron39/files/patch-chrome_browser_themes_theme__service.cc new file mode 100644 index 000000000000..db834cb4ac94 --- /dev/null +++ b/devel/electron39/files/patch-chrome_browser_themes_theme__service.cc @@ -0,0 +1,20 @@ +--- chrome/browser/themes/theme_service.cc.orig 2025-10-21 20:19:54 UTC ++++ chrome/browser/themes/theme_service.cc +@@ -75,7 +75,7 @@ + #include "extensions/browser/extension_registry_observer.h" + #endif + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + #include "ui/linux/linux_ui.h" + #include "ui/ozone/public/ozone_platform.h" // nogncheck + #endif +@@ -344,7 +344,7 @@ bool ThemeService::ShouldUseCustomFrame() const { + } + + bool ThemeService::ShouldUseCustomFrame() const { +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + if (!ui::OzonePlatform::GetInstance() + ->GetPlatformRuntimeProperties() + .supports_server_side_window_decorations) { |
