blob: b86b58a46dcd648fd93aba461043f257fcae9b8e (
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 2023-07-16 15:47:57 UTC
+++ chrome/browser/ui/browser_view_prefs.cc
@@ -15,7 +15,7 @@
namespace {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
bool GetCustomFramePrefDefault() {
#if BUILDFLAG(IS_OZONE)
return ui::OzonePlatform::GetInstance()
@@ -31,7 +31,7 @@ bool GetCustomFramePrefDefault() {
void RegisterBrowserViewProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
registry->RegisterBooleanPref(prefs::kUseCustomChromeFrame,
GetCustomFramePrefDefault());
#endif
|