ports/www/chromium/files/patch-remoting_host_heartbeat__sender.cc
Rene Ladan bfedd5f1f0 www/chromium: update to 99.0.4844.51
On the port side, this update brings:
- libvulkan enabled by default
- more unit tests enabled
- no longer dependent on Python 2.7
Security:	https://vuxml.freebsd.org/freebsd/e0914087-9a09-11ec-9e61-3065ec8fd3ec.html
2022-03-02 10:32:47 +01:00

11 lines
547 B
C++

--- remoting/host/heartbeat_sender.cc.orig 2022-02-28 16:54:41 UTC
+++ remoting/host/heartbeat_sender.cc
@@ -111,7 +111,7 @@ const net::BackoffEntry::Policy kBackoffPolicy = {
std::string GetHostname() {
// TODO(crbug.com/1052397): Revisit the macro expression once build flag
// switch of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
return net::GetHostName();
#elif BUILDFLAG(IS_WIN)
wchar_t buffer[MAX_PATH] = {0};