aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-chrome_browser_themes_theme__service.cc
blob: 2b148dfd98765d9456ac3e064dc30d6c3e47eb10 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                                       
                                          
                 




                                                            

                                            
       
                                                                          

  


                                                  


                                                       
--- chrome/browser/themes/theme_service.cc.orig	2023-12-10 06:10:27 UTC
+++ chrome/browser/themes/theme_service.cc
@@ -74,7 +74,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"
 #endif
@@ -330,7 +330,7 @@ CustomThemeSupplier* ThemeService::GetThemeSupplier() 
 }
 
 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) {