Use base::size rather than arraysize in net/.
BUG=837308
Change-Id: Icc80e825ba0cee5d5a828aedf0ab7636824d903f
Reviewed-on: https://chromium-review.googlesource.com/c/1390419
Reviewed-by: Eric Roman <[email protected]>
Commit-Queue: Avi Drissman <[email protected]>
Cr-Commit-Position: refs/heads/master@{#619176}
diff --git a/net/quic/quic_http_stream_test.cc b/net/quic/quic_http_stream_test.cc
index d01cfb162..54e53b6 100644
--- a/net/quic/quic_http_stream_test.cc
+++ b/net/quic/quic_http_stream_test.cc
@@ -11,6 +11,7 @@
#include "base/memory/ptr_util.h"
#include "base/run_loop.h"
+#include "base/stl_util.h"
#include "base/strings/string_number_conversions.h"
#include "base/threading/thread_task_runner_handle.h"
#include "base/time/time.h"
@@ -1336,7 +1337,7 @@
stream_->ReadResponseBody(read_buffer_.get(), read_buffer_->size(),
callback_.callback()));
ProcessPacket(ConstructServerDataPacket(4, false, kFin,
- arraysize(kResponseBody) - 1, ""));
+ base::size(kResponseBody) - 1, ""));
EXPECT_EQ(0,
stream_->ReadResponseBody(read_buffer_.get(), read_buffer_->size(),
callback_.callback()));