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

Unified Diff: components/password_manager/core/browser/password_store_default_unittest.cc

Issue 658993002: Convert ARRAYSIZE_UNSAFE -> arraysize in components/. (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
Index: components/password_manager/core/browser/password_store_default_unittest.cc
diff --git a/components/password_manager/core/browser/password_store_default_unittest.cc b/components/password_manager/core/browser/password_store_default_unittest.cc
index c0eb92a2f96c1ec69b6b959509ed20b6a8856dec..7b6ef5e5ab7b1db801e11c17420004af532c8d3b 100644
--- a/components/password_manager/core/browser/password_store_default_unittest.cc
+++ b/components/password_manager/core/browser/password_store_default_unittest.cc
@@ -91,7 +91,7 @@ TEST_F(PasswordStoreDefaultTest, NonASCIIData) {
// Build the expected forms vector and add the forms to the store.
std::vector<PasswordForm*> expected_forms;
- for (unsigned int i = 0; i < ARRAYSIZE_UNSAFE(form_data); ++i) {
+ for (unsigned int i = 0; i < arraysize(form_data); ++i) {
PasswordForm* form = CreatePasswordFormFromData(form_data[i]);
expected_forms.push_back(form);
store->AddLogin(*form);
« no previous file with comments | « components/omnibox/keyword_provider_unittest.cc ('k') | components/password_manager/core/browser/password_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698