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







                                                      
                                                                          







                                                                  
--- chrome/browser/ui/views/frame/browser_frame_view_linux.cc.orig	2024-04-19 13:02:56 UTC
+++ chrome/browser/ui/views/frame/browser_frame_view_linux.cc
@@ -60,7 +60,7 @@ gfx::ShadowValues BrowserFrameViewLinux::GetShadowValu
 
 void BrowserFrameViewLinux::PaintRestoredFrameBorder(
     gfx::Canvas* canvas) const {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   const bool tiled = frame()->tiled();
 #else
   const bool tiled = false;
@@ -104,7 +104,7 @@ void BrowserFrameViewLinux::OnWindowButtonOrderingChan
 }
 
 float BrowserFrameViewLinux::GetRestoredCornerRadiusDip() const {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   const bool tiled = frame()->tiled();
 #else
   const bool tiled = false;