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

Unified Diff: content/browser/webui/web_ui_data_source_impl.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/webui/web_ui_data_source_impl.cc
diff --git a/content/browser/webui/web_ui_data_source_impl.cc b/content/browser/webui/web_ui_data_source_impl.cc
index fcf5fdfa37718f19d9b975568a72f7246749ba05..1ab38d1b85b3a94fb8f338dd517198e6fa0c0b48 100644
--- a/content/browser/webui/web_ui_data_source_impl.cc
+++ b/content/browser/webui/web_ui_data_source_impl.cc
@@ -39,7 +39,7 @@ WebUIDataSource* WebUIDataSource::AddMojoDataSource(
{ mojo::kUnicodeModuleName, IDR_MOJO_UNICODE_JS },
{ mojo::kValidatorModuleName, IDR_MOJO_VALIDATOR_JS },
};
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(resources); ++i)
+ for (size_t i = 0; i < arraysize(resources); ++i)
mojo_source->AddResourcePath(resources[i].path, resources[i].id);
URLDataManager::AddWebUIDataSource(browser_context, mojo_source);
« no previous file with comments | « content/browser/renderer_host/media/media_stream_manager.cc ('k') | content/child/multipart_response_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698