summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ui_views_selection__controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-ui_views_selection__controller.cc')
-rw-r--r--www/chromium/files/patch-ui_views_selection__controller.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/www/chromium/files/patch-ui_views_selection__controller.cc b/www/chromium/files/patch-ui_views_selection__controller.cc
index 091a9cd6fca0..cdd50f320618 100644
--- a/www/chromium/files/patch-ui_views_selection__controller.cc
+++ b/www/chromium/files/patch-ui_views_selection__controller.cc
@@ -1,11 +1,11 @@
---- ui/views/selection_controller.cc.orig 2020-11-13 06:37:06 UTC
+--- ui/views/selection_controller.cc.orig 2021-03-12 23:57:48 UTC
+++ ui/views/selection_controller.cc
-@@ -23,7 +23,7 @@ SelectionController::SelectionController(SelectionCont
- delegate_(delegate),
- handles_selection_clipboard_(false) {
+@@ -26,7 +26,7 @@ SelectionController::SelectionController(SelectionCont
// On Linux, update the selection clipboard on a text selection.
--#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
-+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // of lacros-chrome is complete.
+-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
++#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD)
set_handles_selection_clipboard(true);
#endif