1 --- src/3rdparty/chromium/ui/display/screen.h.orig 2025-08-15 18:30:00 UTC 2 +++ src/3rdparty/chromium/ui/display/screen.h 3 @@ -140,7 +140,7 @@ class DISPLAY_EXPORT Screen { 4 // (both of which may or may not be `nearest_id`). 5 display::ScreenInfos GetScreenInfosNearestDisplay(int64_t nearest_id) const; 6 7 -#if BUILDFLAG(IS_LINUX) 8 +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) 9 // Object which suspends the platform-specific screensaver for the duration of 10 // its existence. 11 class ScreenSaverSuspender { 12 @@ -243,7 +243,7 @@ class DISPLAY_EXPORT Screen { 13 int64_t display_id_for_new_windows_; 14 int64_t scoped_display_id_for_new_windows_ = display::kInvalidDisplayId; 15 16 -#if BUILDFLAG(IS_LINUX) 17 +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) 18 uint32_t screen_saver_suspension_count_ = 0; 19 #endif // BUILDFLAG(IS_LINUX) 20 }; 21