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

Unified Diff: remoting/host/linux/unicode_to_keysym_unittest.cc

Issue 660703003: Convert ARRAYSIZE_UNSAFE -> arraysize in remoting/. (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
« no previous file with comments | « no previous file | remoting/protocol/jingle_messages_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/linux/unicode_to_keysym_unittest.cc
diff --git a/remoting/host/linux/unicode_to_keysym_unittest.cc b/remoting/host/linux/unicode_to_keysym_unittest.cc
index 8dba1418188363a795414d1964c8d951769743e9..2a55f50262bc075125d2a66e97b1977ea893cb41 100644
--- a/remoting/host/linux/unicode_to_keysym_unittest.cc
+++ b/remoting/host/linux/unicode_to_keysym_unittest.cc
@@ -33,7 +33,7 @@ TEST(GetKeySymsForUnicode, Map) {
{ 0x4444, { 0x01004444, 0 } },
};
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTests); ++i) {
+ for (size_t i = 0; i < arraysize(kTests); ++i) {
std::vector<uint32_t> keysyms;
GetKeySymsForUnicode(kTests[i].code_point, &keysyms);
« no previous file with comments | « no previous file | remoting/protocol/jingle_messages_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698