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

Unified Diff: content/shell/renderer/test_runner/mock_grammar_check.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/shell/renderer/test_runner/mock_grammar_check.cc
diff --git a/content/shell/renderer/test_runner/mock_grammar_check.cc b/content/shell/renderer/test_runner/mock_grammar_check.cc
index cd5a6ed6274839ffb1cf874f59961d7e91b0a102..bd38de1d40a4ea220d117a3a058b96353846ef97 100644
--- a/content/shell/renderer/test_runner/mock_grammar_check.cc
+++ b/content/shell/renderer/test_runner/mock_grammar_check.cc
@@ -44,7 +44,7 @@ bool MockGrammarCheck::CheckGrammarOfString(
{"the the adlj adaasj sdklj. there there", 33, 5},
{"zz apple orange.", 0, 16},
};
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kGrammarErrors); ++i) {
+ for (size_t i = 0; i < arraysize(kGrammarErrors); ++i) {
size_t offset = 0;
base::string16 error(
kGrammarErrors[i].text,
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | content/shell/renderer/test_runner/mock_web_user_media_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698