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

Unified Diff: webrtc/base/common.h

Issue 1405023016: Convert usage of ARRAY_SIZE to arraysize. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: static_cast<int> Created 5 years, 1 month 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 | « webrtc/base/bytebuffer_unittest.cc ('k') | webrtc/base/crc32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/common.h
diff --git a/webrtc/base/common.h b/webrtc/base/common.h
index 67665f2d4c6eca6a52702205d9451eda861b6a83..2086754c1fd25dd49af576339760332732f9fa75 100644
--- a/webrtc/base/common.h
+++ b/webrtc/base/common.h
@@ -54,8 +54,6 @@ inline void RtcUnused(const void*) {}
#endif // !defined(WEBRTC_WIN)
-#define ARRAY_SIZE(x) (static_cast<int>(sizeof(x) / sizeof(x[0])))
-
/////////////////////////////////////////////////////////////////////////////
// Assertions
/////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « webrtc/base/bytebuffer_unittest.cc ('k') | webrtc/base/crc32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698