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

Unified Diff: net/quic/quic_socket_address_coder.cc

Issue 1932363003: Remove net::IPAddressNumber. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/net.gypi ('k') | net/socket/transport_client_socket_pool_unittest.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.cc
diff --git a/net/quic/quic_socket_address_coder.cc b/net/quic/quic_socket_address_coder.cc
index c0f528d5a4eb49bc54b8e9d2d7b4ab3df770761c..f0d213edef0337b60d440d213aa2f390260558ac 100644
--- a/net/quic/quic_socket_address_coder.cc
+++ b/net/quic/quic_socket_address_coder.cc
@@ -60,10 +60,10 @@ bool QuicSocketAddressCoder::Decode(const char* data, size_t length) {
size_t ip_length;
switch (address_family) {
case kIPv4:
- ip_length = kIPv4AddressSize;
+ ip_length = IPAddress::kIPv4AddressSize;
break;
case kIPv6:
- ip_length = kIPv6AddressSize;
+ ip_length = IPAddress::kIPv6AddressSize;
break;
default:
return false;
« no previous file with comments | « net/net.gypi ('k') | net/socket/transport_client_socket_pool_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698