blob: 694bceabee992edae516e15e85be0f1379963a27 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- chrome/browser/ui/browser_view_prefs.cc.orig 2025-03-24 20:50:14 UTC
+++ chrome/browser/ui/browser_view_prefs.cc
@@ -14,7 +14,7 @@ namespace {
namespace {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
bool GetCustomFramePrefDefault() {
#if BUILDFLAG(IS_OZONE)
return ui::OzonePlatform::GetInstance()
@@ -30,7 +30,7 @@ void RegisterBrowserViewProfilePrefs(
void RegisterBrowserViewProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
registry->RegisterBooleanPref(prefs::kUseCustomChromeFrame,
GetCustomFramePrefDefault());
#endif
|