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

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: Fix Android 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..91f25530b7124c10b2e79e40f254cebf495814c0 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_number(), port);
}
} // namespace test

Powered by Google App Engine
This is Rietveld 408576698