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

Unified Diff: net/quic/crypto/crypto_utils_test.cc

Issue 456403002: Use ARRAYSIZE_UNSAFE when using types defined in a function (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert to patchset 1 Created 6 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 37ac583314a927fdb62412fe9a2ea6ddd9b88a2c..91830f6260591afff16cedfb06f64d76fcdda689 100644
--- a/net/quic/crypto/crypto_utils_test.cc
+++ b/net/quic/crypto/crypto_utils_test.cc
@@ -93,7 +93,7 @@ TEST(CryptoUtilsTest, TestExportKeyingMaterial) {
},
};
- for (size_t i = 0; i < arraysize(test_vector); i++) {
+ for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_vector); i++) {
// Decode the test vector.
string subkey_secret;
string label;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698