$OpenBSD: patch-ui_views_window_custom_frame_view_cc,v 1.8 2017/04/28 22:22:36 robert Exp $
--- ui/views/window/custom_frame_view.cc.orig.port	Wed Apr 19 21:06:55 2017
+++ ui/views/window/custom_frame_view.cc	Thu Apr 27 19:56:06 2017
@@ -302,7 +302,7 @@ int CustomFrameView::NonClientTopBorderHeight() const 
 int CustomFrameView::CaptionButtonY() const {
   // Maximized buttons start at window top so that even if their images aren't
   // drawn flush with the screen edge, they still obey Fitts' Law.
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
   return FrameBorderThickness();
 #else
   return frame_->IsMaximized() ? FrameBorderThickness() : kFrameShadowThickness;
