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

23 lines
747 B
C++

$NetBSD$
--- chrome/browser/ui/webui/about_ui.cc.orig 2020-07-08 21:40:36.000000000 +0000
+++ chrome/browser/ui/webui/about_ui.cc
@@ -564,7 +564,7 @@ std::string ChromeURLs() {
return html;
}
-#if defined(OS_LINUX) || defined(OS_OPENBSD)
+#if defined(OS_LINUX) || defined(OS_BSD)
std::string AboutLinuxProxyConfig() {
std::string data;
AppendHeader(&data, 0,
@@ -620,7 +620,7 @@ void AboutUIHTMLSource::StartDataRequest
response =
ui::ResourceBundle::GetSharedInstance().LoadDataResourceString(idr);
}
-#if defined(OS_LINUX) || defined(OS_OPENBSD)
+#if defined(OS_LINUX) || defined(OS_BSD)
} else if (source_name_ == chrome::kChromeUILinuxProxyConfigHost) {
response = AboutLinuxProxyConfig();
#endif