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

Unified Diff: net/quic/quic_framer.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/quic/quic_framer.cc
diff --git a/net/quic/quic_framer.cc b/net/quic/quic_framer.cc
index d4660bfa20b26012fbcdf02a00b2148a12064f2f..7d851a5b2011b0236806fdfe471ffb5701c99a35 100644
--- a/net/quic/quic_framer.cc
+++ b/net/quic/quic_framer.cc
@@ -442,7 +442,7 @@ QuicEncryptedPacket* QuicFramer::BuildPublicResetPacket(
reset.set_tag(kPRST);
reset.SetValue(kRNON, packet.nonce_proof);
reset.SetValue(kRSEQ, packet.rejected_packet_number);
- if (!packet.client_address.address().empty()) {
+ if (!packet.client_address.address_number().empty()) {
// packet.client_address is non-empty.
QuicSocketAddressCoder address_coder(packet.client_address);
string serialized_address = address_coder.Encode();

Powered by Google App Engine
This is Rietveld 408576698