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

Unified Diff: net/quic/quic_socket_address_coder.h

Issue 1565303002: Change IPEndpoint::address() to return a net::IPAddress (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase for ChromeOS 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
« no previous file with comments | « net/quic/quic_framer_test.cc ('k') | net/quic/quic_socket_address_coder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_socket_address_coder.h
diff --git a/net/quic/quic_socket_address_coder.h b/net/quic/quic_socket_address_coder.h
index 0b620ba9a0a26332b0cd8fbb59538d254ca6898a..b58fbcf9afedb19740fac0b58a34aa140189168f 100644
--- a/net/quic/quic_socket_address_coder.h
+++ b/net/quic/quic_socket_address_coder.h
@@ -29,7 +29,7 @@ class NET_EXPORT_PRIVATE QuicSocketAddressCoder {
bool Decode(const char* data, size_t length);
- IPAddressNumber ip() const { return address_.address(); }
+ IPAddressNumber ip() const { return address_.address().bytes(); }
uint16_t port() const { return address_.port(); }
« no previous file with comments | « net/quic/quic_framer_test.cc ('k') | net/quic/quic_socket_address_coder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698