aboutsummaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-chrome_browser_global__features.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron33/files/patch-chrome_browser_global__features.cc')
-rw-r--r--devel/electron33/files/patch-chrome_browser_global__features.cc29
1 files changed, 0 insertions, 29 deletions
diff --git a/devel/electron33/files/patch-chrome_browser_global__features.cc b/devel/electron33/files/patch-chrome_browser_global__features.cc
deleted file mode 100644
index 82821a28842c..000000000000
--- a/devel/electron33/files/patch-chrome_browser_global__features.cc
+++ /dev/null
@@ -1,29 +0,0 @@
---- chrome/browser/global_features.cc.orig 2024-10-16 21:30:58 UTC
-+++ chrome/browser/global_features.cc
-@@ -10,7 +10,7 @@
- #include "build/build_config.h"
- #include "chrome/browser/permissions/system/platform_handle.h"
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // This causes a gn error on Android builds, because gn does not understand
- // buildflags, so we include it only on platforms where it is used.
- #include "components/user_education/common/user_education_features.h" // nogncheck
-@@ -49,7 +49,7 @@ void GlobalFeatures::Init() {
-
- void GlobalFeatures::Init() {
- system_permissions_platform_handle_ = CreateSystemPermissionsPlatformHandle();
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- if (user_education::features::IsWhatsNewV2()) {
- whats_new_registry_ = CreateWhatsNewRegistry();
- }
-@@ -61,7 +61,7 @@ GlobalFeatures::CreateSystemPermissionsPlatformHandle(
- return system_permission_settings::PlatformHandle::Create();
- }
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- std::unique_ptr<whats_new::WhatsNewRegistry>
- GlobalFeatures::CreateWhatsNewRegistry() {
- return whats_new::CreateWhatsNewRegistry();