Index: net/quic/crypto/crypto_utils_test.cc |
diff --git a/net/quic/crypto/crypto_utils_test.cc b/net/quic/crypto/crypto_utils_test.cc |
index fd9f00563ed3a710ae17f0583cecbeecce0ae637..882a9b50754f5d32784954e49fc7b5680cfb649d 100644 |
--- a/net/quic/crypto/crypto_utils_test.cc |
+++ b/net/quic/crypto/crypto_utils_test.cc |
@@ -39,7 +39,7 @@ TEST(CryptoUtilsTest, NormalizeHostname) { |
{ "www.google.com........", "www.google.com", }, |
}; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) { |
+ for (size_t i = 0; i < arraysize(tests); ++i) { |
EXPECT_EQ(std::string(tests[i].expected), |
CryptoUtils::NormalizeHostname(tests[i].input)); |
} |
@@ -93,7 +93,7 @@ TEST(CryptoUtilsTest, TestExportKeyingMaterial) { |
}, |
}; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_vector); i++) { |
+ for (size_t i = 0; i < arraysize(test_vector); i++) { |
// Decode the test vector. |
string subkey_secret; |
string label; |