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 62428ad0c2dbc1bad3fefd3ab2323dede34b03aa..0e520702e266cd2483f1094673197c83e8dd257f 100644 |
--- a/content/renderer/p2p/ipc_socket_factory.cc |
+++ b/content/renderer/p2p/ipc_socket_factory.cc |
@@ -244,9 +244,7 @@ bool IpcPacketSocket::Init(P2PSocketType type, |
// We need to send both resolved and unresolved address in Init. Unresolved |
// address will be used in case of TLS for certificate hostname matching. |
// Certificate will be tied to domain name not to IP address. |
- std::string remote_hostname = remote_address.hostname() + ":" + |
- remote_address.PortAsString(); |
- P2PHostAndIPEndPoint remote_info(remote_hostname, remote_endpoint); |
+ P2PHostAndIPEndPoint remote_info(remote_address.hostname(), remote_endpoint); |
Mallinath (Gone from Chromium)
2014/08/12 21:22:07
are you sure remote_endpoint will have port, if re
jiayl
2014/08/12 21:39:51
Haha, I thought so but I was wrong. Added the code
|
client->Init(type, local_endpoint, remote_info, this); |