$OpenBSD: patch-src_3rdparty_chromium_ui_views_selection_controller_cc,v 1.2 2021/01/19 06:16:35 rsadowski Exp $

Index: src/3rdparty/chromium/ui/views/selection_controller.cc
--- src/3rdparty/chromium/ui/views/selection_controller.cc.orig
+++ src/3rdparty/chromium/ui/views/selection_controller.cc
@@ -23,7 +23,7 @@ SelectionController::SelectionController(SelectionCont
       delegate_(delegate),
       handles_selection_clipboard_(false) {
 // On Linux, update the selection clipboard on a text selection.
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
   set_handles_selection_clipboard(true);
 #endif
 
