aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-ui_aura_test_ui__controls__ozone.cc
blob: 98c63af5d47df4a5a037e986b6667f29c919ddfc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/aura/test/ui_controls_ozone.cc.orig	2021-07-15 19:14:08 UTC
+++ ui/aura/test/ui_controls_ozone.cc
@@ -359,7 +359,7 @@ bool UIControlsOzone::ScreenDIPToHostPixels(gfx::Point
 // To avoid multiple definitions when use_x11 && use_ozone is true, disable this
 // factory method for OS_LINUX as Linux has a factory method that decides what
 // UIControls to use based on IsUsingOzonePlatform feature flag.
-#if !defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if !defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(OS_BSD)
 ui_controls::UIControlsAura* CreateUIControlsAura(WindowTreeHost* host) {
   return new UIControlsOzone(host);
 }