Index: media/cast/test/utility/udp_proxy.cc |
diff --git a/media/cast/test/utility/udp_proxy.cc b/media/cast/test/utility/udp_proxy.cc |
index 1e5c4faf3bd6ef35cd6d957f0e3000d6c76fea47..359b0de3dd6f1d7d57a45b49cad9cdebeda65522 100644 |
--- a/media/cast/test/utility/udp_proxy.cc |
+++ b/media/cast/test/utility/udp_proxy.cc |
@@ -669,7 +669,7 @@ class UDPProxyImpl : public UDPProxy { |
net::NetLog* net_log) |
: local_port_(local_port), |
destination_(destination), |
- destination_is_mutable_(destination.address().empty()), |
+ destination_is_mutable_(destination.address_number().empty()), |
proxy_thread_("media::cast::test::UdpProxy Thread"), |
to_dest_pipe_(std::move(to_dest_pipe)), |
from_dest_pipe_(std::move(from_dest_pipe)), |
@@ -712,7 +712,7 @@ class UDPProxyImpl : public UDPProxy { |
new net::WrappedIOBuffer(reinterpret_cast<char*>(&packet->front())); |
size_t buf_size = packet->size(); |
int result; |
- if (destination.address().empty()) { |
+ if (destination.address_number().empty()) { |
VLOG(1) << "Destination has not been set yet."; |
result = net::ERR_INVALID_ARGUMENT; |
} else { |