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

Unified Diff: net/base/address_list_unittest.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 | « extensions/browser/api/system_network/system_network_api.cc ('k') | net/base/ip_address.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/address_list_unittest.cc
diff --git a/net/base/address_list_unittest.cc b/net/base/address_list_unittest.cc
index 1e2fa42701568c9edcb1142ee1ca7473404c7e88..7553463a792eabe8c49aa4d65e068c76057a5052 100644
--- a/net/base/address_list_unittest.cc
+++ b/net/base/address_list_unittest.cc
@@ -52,7 +52,7 @@ TEST(AddressListTest, CreateFromAddrinfo) {
reinterpret_cast<struct sockaddr_in*>(storage[i].addr);
storage[i].addr_len = sizeof(struct sockaddr_in);
// Populating the address with { i, i, i, i }.
- memset(&addr->sin_addr, i, kIPv4AddressSize);
+ memset(&addr->sin_addr, i, IPAddress::kIPv4AddressSize);
addr->sin_family = AF_INET;
// Set port to i << 2;
addr->sin_port = base::HostToNet16(static_cast<uint16_t>(i << 2));
« no previous file with comments | « extensions/browser/api/system_network/system_network_api.cc ('k') | net/base/ip_address.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698