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

Unified Diff: storage/browser/fileapi/file_system_context.cc

Issue 657303002: Convert ARRAYSIZE_UNSAFE -> arraysize in storage/. (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
« no previous file with comments | « no previous file | storage/browser/quota/quota_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/fileapi/file_system_context.cc
diff --git a/storage/browser/fileapi/file_system_context.cc b/storage/browser/fileapi/file_system_context.cc
index 2a03d95246491402a13ab2c961189e27e307f82f..c6ef9fd92c7a49d91be0cef217f8bbcb1d14c514 100644
--- a/storage/browser/fileapi/file_system_context.cc
+++ b/storage/browser/fileapi/file_system_context.cc
@@ -584,7 +584,7 @@ void FileSystemContext::RegisterBackend(FileSystemBackend* backend) {
kFileSystemTypeExternal,
};
// Register file system backends for public mount types.
- for (size_t j = 0; j < ARRAYSIZE_UNSAFE(mount_types); ++j) {
+ for (size_t j = 0; j < arraysize(mount_types); ++j) {
if (backend->CanHandleType(mount_types[j])) {
const bool inserted = backend_map_.insert(
std::make_pair(mount_types[j], backend)).second;
« no previous file with comments | « no previous file | storage/browser/quota/quota_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698