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

Unified Diff: chrome/browser/global_keyboard_shortcuts_mac_unittest.mm

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/global_keyboard_shortcuts_mac_unittest.mm
diff --git a/chrome/browser/global_keyboard_shortcuts_mac_unittest.mm b/chrome/browser/global_keyboard_shortcuts_mac_unittest.mm
index ee931b74a0fc0d72cb46cda79d6f965195799dfe..e5d3463efd6d64d9591e4bb13a8a6d5294abde5d 100644
--- a/chrome/browser/global_keyboard_shortcuts_mac_unittest.mm
+++ b/chrome/browser/global_keyboard_shortcuts_mac_unittest.mm
@@ -71,7 +71,7 @@ TEST(GlobalKeyboardShortcuts, KeypadNumberKeysMatch) {
{kVK_ANSI_9, kVK_ANSI_Keypad9},
};
- for (unsigned int i = 0; i < ARRAYSIZE_UNSAFE(equivalents); ++i) {
+ for (unsigned int i = 0; i < arraysize(equivalents); ++i) {
for (int command = 0; command <= 1; ++command) {
for (int shift = 0; shift <= 1; ++shift) {
for (int control = 0; control <= 1; ++control) {
« no previous file with comments | « chrome/browser/global_keyboard_shortcuts_mac.mm ('k') | chrome/browser/history/history_querying_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698