summaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-chrome_browser_ui_sad__tab.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-chrome_browser_ui_sad__tab.cc')
-rw-r--r--devel/electron13/files/patch-chrome_browser_ui_sad__tab.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-chrome_browser_ui_sad__tab.cc b/devel/electron13/files/patch-chrome_browser_ui_sad__tab.cc
new file mode 100644
index 000000000000..ed928aa99dad
--- /dev/null
+++ b/devel/electron13/files/patch-chrome_browser_ui_sad__tab.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/ui/sad_tab.cc.orig 2021-01-07 00:36:24 UTC
++++ chrome/browser/ui/sad_tab.cc
+@@ -189,7 +189,7 @@ std::vector<int> SadTab::GetSubMessages() {
+ // Only show Incognito suggestion if not already in Incognito mode.
+ if (!web_contents_->GetBrowserContext()->IsOffTheRecord())
+ message_ids.insert(message_ids.begin(), IDS_SAD_TAB_RELOAD_INCOGNITO);
+-#if defined(OS_MAC) || defined(OS_LINUX) || defined(OS_CHROMEOS)
++#if defined(OS_MAC) || defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
+ // Note: on macOS, Linux and ChromeOS, the first bullet is either one of
+ // IDS_SAD_TAB_RELOAD_CLOSE_TABS or IDS_SAD_TAB_RELOAD_CLOSE_NOTABS
+ // followed by one of the above suggestions.