aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ui_views_test_ui__controls__factory__desktop__aura__ozone.cc
blob: f9db12cd0b1cf71d1a20b70cb7f06724544e4d8b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ui/views/test/ui_controls_factory_desktop_aura_ozone.cc.orig	2022-05-19 14:06:27 UTC
+++ ui/views/test/ui_controls_factory_desktop_aura_ozone.cc
@@ -25,7 +25,7 @@
 #include "ui/ozone/public/ozone_ui_controls_test_helper.h"
 #include "ui/views/test/test_desktop_screen_ozone.h"
 
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
 #include "ui/views/widget/desktop_aura/desktop_window_tree_host_linux.h"
 #else
 #include "ui/views/widget/desktop_aura/desktop_window_tree_host_platform.h"
@@ -157,7 +157,7 @@ class UIControlsDesktopOzone : public UIControlsAura {
 
  private:
   aura::Window* RootWindowForPoint(const gfx::Point& point) {
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
     // Most interactive_ui_tests run inside of the aura_test_helper
     // environment. This means that we can't rely on display::Screen and several
     // other things to work properly. Therefore we hack around this by