aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_infobar__utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_infobar__utils.cc')
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_infobar__utils.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_infobar__utils.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_infobar__utils.cc
new file mode 100644
index 000000000000..bdfdae8408d2
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_infobar__utils.cc
@@ -0,0 +1,20 @@
+--- chrome/browser/ui/startup/infobar_utils.cc.orig 2025-11-01 06:40:37 UTC
++++ chrome/browser/ui/startup/infobar_utils.cc
+@@ -46,7 +46,7 @@
+ #include "chrome/browser/ui/startup/default_browser_prompt/pin_infobar/pin_infobar_controller.h"
+ #endif
+
+-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "chrome/browser/ui/views/session_restore_infobar/session_restore_infobar_controller.h"
+ #include "chrome/browser/ui/views/session_restore_infobar/session_restore_infobar_model.h"
+ #endif
+@@ -228,7 +228,7 @@ void AddInfoBarsIfNecessary(BrowserWindowInterface* br
+ }
+ #endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+
+-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ if (base::FeatureList::IsEnabled(features::kSessionRestoreInfobar)) {
+ auto* session_restore_infobar_controller =
+ session_restore_infobar::SessionRestoreInfobarController::From(browser);