pkgsrc-wip/chromium/patches/patch-chrome_browser_ui_sad...

14 lines
715 B
C++

$NetBSD$
--- chrome/browser/ui/sad_tab.cc.orig 2020-07-08 21:40:35.000000000 +0000
+++ chrome/browser/ui/sad_tab.cc
@@ -188,7 +188,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_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.