| 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);
|
|
|