opnsense-ports/devel/electron32/files/patch-chrome_browser_global__desktop__features.cc
Franco Fichtner fd3bf1794a */*: sync with upstream
Taken from: FreeBSD
2024-09-23 09:02:17 +02:00

19 lines
797 B
C++

--- chrome/browser/global_desktop_features.cc.orig 2024-08-14 20:54:35 UTC
+++ chrome/browser/global_desktop_features.cc
@@ -45,14 +45,14 @@ void GlobalDesktopFeatures::Init() {
}
void GlobalDesktopFeatures::Init() {
-#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();
}
#endif
}
-#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>
GlobalDesktopFeatures::CreateWhatsNewRegistry() {
return whats_new::CreateWhatsNewRegistry();