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

Unified Diff: components/password_manager/core/browser/password_store_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_unittest.cc
diff --git a/components/password_manager/core/browser/password_store_unittest.cc b/components/password_manager/core/browser/password_store_unittest.cc
index 0c6e3d6321ebf636db31442f487a5b605207e92a..e8120241360b4232bbbd41a78d9be87e97258e32 100644
--- a/components/password_manager/core/browser/password_store_unittest.cc
+++ b/components/password_manager/core/browser/password_store_unittest.cc
@@ -134,7 +134,7 @@ TEST_F(PasswordStoreTest, IgnoreOldWwwGoogleLogins) {
// Build the forms vector and add the forms to the store.
std::vector<PasswordForm*> all_forms;
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(form_data); ++i) {
+ for (size_t i = 0; i < arraysize(form_data); ++i) {
PasswordForm* form = CreatePasswordFormFromData(form_data[i]);
all_forms.push_back(form);
store->AddLogin(*form);

Powered by Google App Engine
This is Rietveld 408576698