ports/www/chromium/files/patch-chrome_browser_ui_sad__tab.cc
Carlos J. Puga Medina d90bf58cf8 www/chromium: Update to 73.0.3683.86
- Make existing patches apply cleanly

Changelog: https://chromium.googlesource.com/chromium/src/+log/72.0.3626.121..73.0.3683.86?pretty=fuller&n=10000

Submitted by:	Matthias Wolf
MFH:		2019Q2
2019-04-05 12:01:25 +00:00

11 lines
696 B
C++

--- chrome/browser/ui/sad_tab.cc.orig 2019-03-11 22:00:54 UTC
+++ chrome/browser/ui/sad_tab.cc
@@ -180,7 +180,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.