$OpenBSD: patch-ui_views_window_dialog_delegate_cc,v 1.6 2016/10/27 18:30:41 robert Exp $
--- ui/views/window/dialog_delegate.cc.orig.port	Wed Oct 12 21:03:17 2016
+++ ui/views/window/dialog_delegate.cc	Wed Oct 19 12:56:13 2016
@@ -56,7 +56,7 @@ Widget::InitParams DialogDelegate::GetDialogWidgetInit
   params.bounds = bounds;
   DialogDelegate* dialog = delegate->AsDialogDelegate();
 
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
   // The new style doesn't support unparented dialogs on Linux desktop.
   if (dialog)
     dialog->supports_custom_frame_ &= parent != NULL;
