aboutsummaryrefslogtreecommitdiff
path: root/devel/electron21/files/patch-ui_views_widget_widget.h
blob: fa8944be5cc5d7dd0ccdc52025878f289364542b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/views/widget/widget.h.orig	2022-08-31 12:19:35 UTC
+++ ui/views/widget/widget.h
@@ -394,7 +394,7 @@ class VIEWS_EXPORT Widget : public internal::NativeWid
     // If set, the widget was created in headless mode.
     bool headless_mode = false;
 
-#if defined(USE_AURA) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS))
+#if defined(USE_AURA) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD))
     // Indicates whether the desktop native widget is required for the widget.
     // This may enforce changing the type of the underlying platform window.
     // See crbug.com/1280332