Index: net/quic/p2p/quic_p2p_session.cc |
diff --git a/net/quic/p2p/quic_p2p_session.cc b/net/quic/p2p/quic_p2p_session.cc |
index 94777b307d5a69edb548716eb1110b02c5b1c8ba..17825c0af6188b4c0b5be482edb830ce962e13f6 100644 |
--- a/net/quic/p2p/quic_p2p_session.cc |
+++ b/net/quic/p2p/quic_p2p_session.cc |
@@ -26,12 +26,6 @@ QuicP2PSession::QuicP2PSession(const QuicConfig& config, |
crypto_stream_(new QuicP2PCryptoStream(this, crypto_config)), |
read_buffer_(new IOBuffer(static_cast<size_t>(kMaxPacketSize))) { |
DCHECK(config.negotiated()); |
- |
- // Non-null IP address needs to be passed here because QuicConnection uses |
- // ToString() to format addresses for logging and ToString() is not allowed |
- // for empty addresses. |
- // TODO(sergeyu): Fix QuicConnection and remove SetSelfAddress() call below. |
- this->connection()->SetSelfAddress(IPEndPoint(IPAddress::IPv4AllZeros(), 0)); |
} |
QuicP2PSession::~QuicP2PSession() {} |