[DevTools] removed PROTOCOL_ARRAY_LENGTH array
This macro is unused in codebase.
BUG=chromium:635948
[email protected]
Review-Url: https://codereview.chromium.org/2338973002
Cr-Original-Commit-Position: refs/heads/master@{#418419}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c571d53098e02d471a44f30132a2fb9144c75cf0
diff --git a/lib/Collections_h.template b/lib/Collections_h.template
index 91675cb..3f76028 100644
--- a/lib/Collections_h.template
+++ b/lib/Collections_h.template
@@ -40,12 +40,4 @@
#endif // defined(__APPLE__) && !defined(_LIBCPP_VERSION)
-// Macro that returns a compile time constant with the length of an array, but gives an error if passed a non-array.
-template<typename T, std::size_t Size> char (&ArrayLengthHelperFunction(T (&)[Size]))[Size];
-// GCC needs some help to deduce a 0 length array.
-#if defined(__GNUC__)
-template<typename T> char (&ArrayLengthHelperFunction(T (&)[0]))[0];
-#endif
-#define PROTOCOL_ARRAY_LENGTH(array) sizeof(::ArrayLengthHelperFunction(array))
-
#endif // !defined({{"_".join(config.protocol.namespace)}}_Collections_h)