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

Unified Diff: chrome/browser/chromeos/input_method/input_method_util_unittest.cc

Issue 655413002: Convert ARRAYSIZE_UNSAFE -> arraysize in 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/browser/chromeos/input_method/input_method_util_unittest.cc
diff --git a/chrome/browser/chromeos/input_method/input_method_util_unittest.cc b/chrome/browser/chromeos/input_method/input_method_util_unittest.cc
index 0e06cbb23721d7411d0ecb797eea5543116bf2df..97b51b62609f87bb0b3c6be5e4680b2a39b194aa 100644
--- a/chrome/browser/chromeos/input_method/input_method_util_unittest.cc
+++ b/chrome/browser/chromeos/input_method/input_method_util_unittest.cc
@@ -183,7 +183,7 @@ TEST_F(InputMethodUtilTest, GetInputMethodMediumNameTest) {
"xkb:es:cat:cat",
"xkb:gb:dvorak:eng",
};
- const int len = ARRAYSIZE_UNSAFE(input_method_id);
+ const int len = arraysize(input_method_id);
for (int i=0; i<len; ++i) {
InputMethodDescriptor desc = GetDesc(input_method_id[i], "", "", "");
base::string16 medium_name = util_.GetInputMethodMediumName(desc);
@@ -197,7 +197,7 @@ TEST_F(InputMethodUtilTest, GetInputMethodMediumNameTest) {
pinyin_ime_id,
zhuyin_ime_id,
};
- const int len = ARRAYSIZE_UNSAFE(input_method_id);
+ const int len = arraysize(input_method_id);
for (int i=0; i<len; ++i) {
InputMethodDescriptor desc = GetDesc(input_method_id[i], "", "", "");
base::string16 medium_name = util_.GetInputMethodMediumName(desc);
« no previous file with comments | « chrome/browser/chromeos/input_method/input_method_util.cc ('k') | chrome/browser/chromeos/login/wizard_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698