| Index: content/renderer/p2p/ipc_socket_factory.cc
|
| diff --git a/content/renderer/p2p/ipc_socket_factory.cc b/content/renderer/p2p/ipc_socket_factory.cc
|
| index 779bb216dd5f3b9037e59321ed4842376c7eaf90..f4b5062ce097c89427ae140d26b056bf6ce0253e 100644
|
| --- a/content/renderer/p2p/ipc_socket_factory.cc
|
| +++ b/content/renderer/p2p/ipc_socket_factory.cc
|
| @@ -563,9 +563,9 @@ void IpcPacketSocket::OnOpen(const net::IPEndPoint& local_address,
|
| rtc::SocketAddress jingle_socket_address;
|
| // |remote_address| could be unresolved if the connection is behind a
|
| // proxy.
|
| - if (!remote_address.address().empty() &&
|
| - jingle_glue::IPEndPointToSocketAddress(
|
| - remote_address, &jingle_socket_address)) {
|
| + if (!remote_address.address_number().empty() &&
|
| + jingle_glue::IPEndPointToSocketAddress(remote_address,
|
| + &jingle_socket_address)) {
|
| // Set only the IP address.
|
| remote_address_.SetResolvedIP(jingle_socket_address.ipaddr());
|
| }
|
| @@ -647,7 +647,7 @@ void IpcPacketSocket::OnDataReceived(const net::IPEndPoint& address,
|
|
|
| rtc::SocketAddress address_lj;
|
|
|
| - if (address.address().empty()) {
|
| + if (address.address_number().empty()) {
|
| DCHECK(IsTcpClientSocket(type_));
|
| // |address| could be empty for TCP connections behind a proxy.
|
| address_lj = remote_address_;
|
|
|