aboutsummaryrefslogtreecommitdiff
path: root/devel/electron23/files/patch-chrome_browser_notifications_notification__platform__bridge__delegator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron23/files/patch-chrome_browser_notifications_notification__platform__bridge__delegator.cc')
-rw-r--r--devel/electron23/files/patch-chrome_browser_notifications_notification__platform__bridge__delegator.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron23/files/patch-chrome_browser_notifications_notification__platform__bridge__delegator.cc b/devel/electron23/files/patch-chrome_browser_notifications_notification__platform__bridge__delegator.cc
new file mode 100644
index 000000000000..1d138c9c3cb0
--- /dev/null
+++ b/devel/electron23/files/patch-chrome_browser_notifications_notification__platform__bridge__delegator.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/notifications/notification_platform_bridge_delegator.cc.orig 2022-02-28 16:54:41 UTC
++++ chrome/browser/notifications/notification_platform_bridge_delegator.cc
+@@ -57,7 +57,7 @@ bool SystemNotificationsEnabled(Profile* profile) {
+ #elif BUILDFLAG(IS_WIN)
+ return NotificationPlatformBridgeWin::SystemNotificationEnabled();
+ #else
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ if (profile) {
+ // Prefs take precedence over flags.
+ PrefService* prefs = profile->GetPrefs();