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

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: 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/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(); }
eroman 2016/01/13 23:19:42 I wonder if it is intentional that this code retur
martijnc 2016/01/14 22:48:17 Hmm, not sure why that is. Had a quick look at the
uint16_t port() const { return address_.port(); }

Powered by Google App Engine
This is Rietveld 408576698