$OpenBSD: patch-chrome_browser_ui_browser_view_prefs_cc,v 1.20 2021/11/16 11:28:46 robert Exp $

Index: chrome/browser/ui/browser_view_prefs.cc
--- chrome/browser/ui/browser_view_prefs.cc.orig
+++ chrome/browser/ui/browser_view_prefs.cc
@@ -24,7 +24,7 @@ const char kTabStripLayoutType[] = "tab_strip_layout_t
 
 // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
 // of lacros-chrome is complete.
-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD)
 bool GetCustomFramePrefDefault() {
 #if defined(USE_OZONE)
     return ui::OzonePlatform::GetInstance()
@@ -47,7 +47,7 @@ void RegisterBrowserViewProfilePrefs(
     user_prefs::PrefRegistrySyncable* registry) {
 // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
 // of lacros-chrome is complete.
-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD)
   registry->RegisterBooleanPref(prefs::kUseCustomChromeFrame,
                                 GetCustomFramePrefDefault());
 #endif  // (defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) &&
