--- electron/shell/browser/electron_browser_main_parts.h.orig 2024-10-22 02:29:46 UTC +++ electron/shell/browser/electron_browser_main_parts.h @@ -124,7 +124,7 @@ class ElectronBrowserMainParts : public content::Brows const scoped_refptr& task_runner); #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void DetectOzonePlatform(); #endif @@ -146,7 +146,7 @@ class ElectronBrowserMainParts : public content::Brows std::unique_ptr screen_; #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) std::unique_ptr dark_mode_manager_; std::unique_ptr linux_ui_getter_; #endif