aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ui_views_widget_desktop__aura_desktop__screen__ozone.cc
blob: 7b95f8caa08891a921fda14d8ca32347c0148c5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/views/widget/desktop_aura/desktop_screen_ozone.cc.orig	2021-07-19 18:45:44 UTC
+++ ui/views/widget/desktop_aura/desktop_screen_ozone.cc
@@ -28,7 +28,7 @@ gfx::NativeWindow DesktopScreenOzone::GetNativeWindowF
 // 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
 // screen to use based on IsUsingOzonePlatform feature flag.
-#if !defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if !defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(OS_BSD)
 std::unique_ptr<display::Screen> CreateDesktopScreen() {
   return std::make_unique<aura::ScreenOzone>();
 }