summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-remoting_host_heartbeat__sender.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-remoting_host_heartbeat__sender.cc')
-rw-r--r--www/chromium/files/patch-remoting_host_heartbeat__sender.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/www/chromium/files/patch-remoting_host_heartbeat__sender.cc b/www/chromium/files/patch-remoting_host_heartbeat__sender.cc
index f81007bd8d70..d2c95ff4bd8d 100644
--- a/www/chromium/files/patch-remoting_host_heartbeat__sender.cc
+++ b/www/chromium/files/patch-remoting_host_heartbeat__sender.cc
@@ -1,11 +1,11 @@
---- remoting/host/heartbeat_sender.cc.orig 2021-01-19 11:48:10 UTC
+--- remoting/host/heartbeat_sender.cc.orig 2021-03-12 23:57:28 UTC
+++ remoting/host/heartbeat_sender.cc
-@@ -109,7 +109,7 @@ const net::BackoffEntry::Policy kBackoffPolicy = {
- };
-
+@@ -112,7 +112,7 @@ const net::BackoffEntry::Policy kBackoffPolicy = {
std::string GetHostname() {
--#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
-+#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
+ // TODO(crbug.com/1052397): Revisit the macro expression once build flag
+ // switch of lacros-chrome is complete.
+-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
++#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD)
return net::GetHostName();
#elif defined(OS_WIN)
wchar_t buffer[MAX_PATH] = {0};