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

Unified Diff: net/quic/quic_socket_address_coder_test.cc

Issue 662553002: Convert ARRAYSIZE_UNSAFE -> arraysize in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/iovector_test.cc ('k') | net/quic/quic_utils_test.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_test.cc
diff --git a/net/quic/quic_socket_address_coder_test.cc b/net/quic/quic_socket_address_coder_test.cc
index 56bed58b48828dcbe0e38c6cb540f51747fd2bff..cbfac2b12d84c21a8912bcf80f435b9945cadeef 100644
--- a/net/quic/quic_socket_address_coder_test.cc
+++ b/net/quic/quic_socket_address_coder_test.cc
@@ -100,7 +100,7 @@ TEST(QuicSocketAddressCoderTest, EncodeAndDecode) {
{ "::1", 65534 },
};
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_case); i++) {
+ for (size_t i = 0; i < arraysize(test_case); i++) {
IPAddressNumber ip;
ASSERT_TRUE(ParseIPLiteralToNumber(test_case[i].ip_literal, &ip));
QuicSocketAddressCoder encoder(IPEndPoint(ip, test_case[i].port));
« no previous file with comments | « net/quic/iovector_test.cc ('k') | net/quic/quic_utils_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698