aboutsummaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-ui_views_window_custom__frame__view.cc
blob: 67fd6cc3d48a56256ac2140d0e82d3cff9c961a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/views/window/custom_frame_view.cc.orig	2022-03-28 18:11:04 UTC
+++ ui/views/window/custom_frame_view.cc
@@ -265,7 +265,7 @@ int CustomFrameView::CaptionButtonY() const {
   // drawn flush with the screen edge, they still obey Fitts' Law.
 // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
 // of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
   return FrameBorderThickness();
 #else
   return frame_->IsMaximized() ? FrameBorderThickness() : kFrameShadowThickness;