aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ui_views_widget_desktop__aura_desktop__screen__ozone.cc
blob: 4999013209bea514803688f539d20aa9ca11269c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/views/widget/desktop_aura/desktop_screen_ozone.cc.orig	2022-02-28 16:54:41 UTC
+++ ui/views/widget/desktop_aura/desktop_screen_ozone.cc
@@ -25,7 +25,7 @@ gfx::NativeWindow DesktopScreenOzone::GetNativeWindowF
       widget);
 }
 
-#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)
+#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_BSD)
 std::unique_ptr<display::Screen> CreateDesktopScreen() {
   auto screen = std::make_unique<aura::ScreenOzone>();
   screen->Initialize();