From 670674a2511a2e44a8beca1881ffdfa57ec788a5 Mon Sep 17 00:00:00 2001 From: Crisrael Lucero Date: Tue, 27 Aug 2024 13:32:20 -0700 Subject: [PATCH] Explicitly concatenate location to support Chromium StrCat PiperOrigin-RevId: 668117970 --- connections/implementation/webrtc_bwu_handler.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/connections/implementation/webrtc_bwu_handler.cc b/connections/implementation/webrtc_bwu_handler.cc index e3f1119b..35eb35fb 100644 --- a/connections/implementation/webrtc_bwu_handler.cc +++ b/connections/implementation/webrtc_bwu_handler.cc @@ -64,7 +64,8 @@ WebrtcBwuHandler::CreateUpgradedEndpointChannel( } NEARBY_LOGS(INFO) << "WebRtcBwuHandler is attempting to connect to remote peer " - << peer_id.GetId() << ", location hint " << absl::StrCat(location_hint); + << peer_id.GetId() << ", location hint " + << absl::StrCat(location_hint.location()); mediums::WebRtcSocketWrapper socket = webrtc_.Connect(service_id, peer_id, location_hint,