aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-apps_ui_views_app__window__frame__view.cc
blob: 715b413018fad7529fa841cfb15f2cd97853a7a1 (plain) (tree)
1
2
3
4
5
6
7
8
                                                                       
                                          
                                                                          
                                           



                                                                               


                                                                           
--- apps/ui/views/app_window_frame_view.cc.orig	2021-04-14 18:40:47 UTC
+++ apps/ui/views/app_window_frame_view.cc
@@ -137,7 +137,7 @@ gfx::Rect AppWindowFrameView::GetWindowBoundsForClient
   gfx::Rect window_bounds = client_bounds;
 // TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is
 // complete.
-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if defined(OS_LINUX) || defined(OS_BSD) || BUILDFLAG(IS_CHROMEOS_LACROS)
   // Get the difference between the widget's client area bounds and window
   // bounds, and grow |window_bounds| by that amount.
   gfx::Insets native_frame_insets =