Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(864)

Unified Diff: net/tools/quic/test_tools/quic_client_peer.cc

Issue 1565303002: Change IPEndpoint::address() to return a net::IPAddress (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback eroman Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/tools/quic/test_tools/quic_client_peer.cc
diff --git a/net/tools/quic/test_tools/quic_client_peer.cc b/net/tools/quic/test_tools/quic_client_peer.cc
index 26af191c86d484ceef2b55ba3f9d66ec4c87d650..d907ac7a00474a22289342c6044494d5d1c6801c 100644
--- a/net/tools/quic/test_tools/quic_client_peer.cc
+++ b/net/tools/quic/test_tools/quic_client_peer.cc
@@ -17,7 +17,8 @@ bool QuicClientPeer::CreateUDPSocket(QuicClient* client) {
// static
void QuicClientPeer::SetClientPort(QuicClient* client, int port) {
- client->client_address_ = IPEndPoint(client->client_address_.address(), port);
+ client->client_address_ =
+ IPEndPoint(client->client_address_.address().bytes(), port);
}
} // namespace test

Powered by Google App Engine
This is Rietveld 408576698