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

Unified Diff: content/browser/dom_storage/dom_storage_area_unittest.cc

Issue 654403002: Convert ARRAYSIZE_UNSAFE -> arraysize in content/. (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: content/browser/dom_storage/dom_storage_area_unittest.cc
diff --git a/content/browser/dom_storage/dom_storage_area_unittest.cc b/content/browser/dom_storage/dom_storage_area_unittest.cc
index bde9dff4aca6d4a41b018088ec66a3c1687176fb..6c16b74c990a93def2e3b34c074ae5054b894350 100644
--- a/content/browser/dom_storage/dom_storage_area_unittest.cc
+++ b/content/browser/dom_storage/dom_storage_area_unittest.cc
@@ -443,7 +443,7 @@ TEST_F(DOMStorageAreaTest, DatabaseFileNames) {
"file__0.localstorage-journal" },
};
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kCases); ++i) {
+ for (size_t i = 0; i < arraysize(kCases); ++i) {
GURL origin = GURL(kCases[i].origin).GetOrigin();
base::FilePath file_name =
base::FilePath().AppendASCII(kCases[i].file_name);
« no previous file with comments | « content/browser/appcache/appcache_database_unittest.cc ('k') | content/browser/download/download_net_log_parameters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698