Migrate ABSL_ARRAYSIZE()/arraysize() to std::size() where possible
Tested:
http://test/OCL:954251566:BASE:954243952:1785104446467:14251ca2
Some test failures are present; the CL author decided to mail
PiperOrigin-RevId: 954404491
diff --git a/quiche/quic/core/http/quic_send_control_stream.cc b/quiche/quic/core/http/quic_send_control_stream.cc
index 76c4442..b455cbc 100644
--- a/quiche/quic/core/http/quic_send_control_stream.cc
+++ b/quiche/quic/core/http/quic_send_control_stream.cc
@@ -5,6 +5,7 @@
#include "quiche/quic/core/http/quic_send_control_stream.h"
#include <cstdint>
+#include <iterator>
#include <memory>
#include <string>
@@ -52,7 +53,7 @@
QuicConnection::ScopedPacketFlusher flusher(session()->connection());
// Send the stream type on so the peer knows about this stream.
char data[sizeof(kControlStream)];
- QuicDataWriter writer(ABSL_ARRAYSIZE(data), data);
+ QuicDataWriter writer(std::size(data), data);
writer.WriteVarInt62(kControlStream);
WriteOrBufferData(absl::string_view(writer.data(), writer.length()), false,
nullptr);