summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_browser_ui_sad_tab.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-chrome_browser_ui_sad_tab.cc')
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_sad_tab.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-chrome_browser_ui_sad_tab.cc b/www/chromium/files/patch-chrome_browser_ui_sad_tab.cc
new file mode 100644
index 000000000000..c8895cf8be41
--- /dev/null
+++ b/www/chromium/files/patch-chrome_browser_ui_sad_tab.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/ui/sad_tab.cc.orig 2018-03-03 21:11:09.039038000 +0100
++++ chrome/browser/ui/sad_tab.cc 2018-03-03 21:11:28.213027000 +0100
+@@ -180,7 +180,7 @@
+ // 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_MACOSX) || defined(OS_LINUX)
++#if defined(OS_MACOSX) || defined(OS_LINUX) || 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.