--- src/3rdparty/chromium/ui/ozone/platform/x11/x11_screen_ozone.h.orig	2023-11-03 10:09:45 UTC
+++ src/3rdparty/chromium/ui/ozone/platform/x11/x11_screen_ozone.h
@@ -102,7 +102,7 @@ class X11ScreenOzone : public PlatformScreen,
   // Indicates that |this| is initialized.
   bool initialized_ = false;
 
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   base::ScopedObservation<ui::LinuxUi, DeviceScaleFactorObserver>
       display_scale_factor_observer_{this};
 #endif
