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

Unified Diff: chrome/renderer/web_apps_unittest.cc

Issue 641363003: Convert ARRAYSIZE_UNSAFE -> arraysize in chrome/, outside of chrome/browser/. (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: chrome/renderer/web_apps_unittest.cc
diff --git a/chrome/renderer/web_apps_unittest.cc b/chrome/renderer/web_apps_unittest.cc
index 902e592d0c038ef7393adf928835a533bc666d48..5f4dda6b5cd8a01177e1bcc608e48736837d2ffa 100644
--- a/chrome/renderer/web_apps_unittest.cc
+++ b/chrome/renderer/web_apps_unittest.cc
@@ -40,7 +40,7 @@ TEST(WebAppInfo, ParseIconSizes) {
{ " 10x11 ", true, false, 1, 10, 11, 0, 0 },
{ " 10x11 1x2", true, false, 2, 10, 11, 1, 2 },
};
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(data); ++i) {
+ for (size_t i = 0; i < arraysize(data); ++i) {
bool is_any;
std::vector<gfx::Size> sizes;
bool result = web_apps::ParseIconSizes(

Powered by Google App Engine
This is Rietveld 408576698