| Index: webrtc/p2p/base/port_unittest.cc
|
| diff --git a/webrtc/p2p/base/port_unittest.cc b/webrtc/p2p/base/port_unittest.cc
|
| index 4a4ed324565ab6d4889657a98f4eada87cd15ed1..849110e11107bf0aa17a5703a61d13ea26dc083a 100644
|
| --- a/webrtc/p2p/base/port_unittest.cc
|
| +++ b/webrtc/p2p/base/port_unittest.cc
|
| @@ -17,6 +17,7 @@
|
| #include "webrtc/p2p/base/testturnserver.h"
|
| #include "webrtc/p2p/base/transport.h"
|
| #include "webrtc/p2p/base/turnport.h"
|
| +#include "webrtc/base/arraysize.h"
|
| #include "webrtc/base/crc32.h"
|
| #include "webrtc/base/gunit.h"
|
| #include "webrtc/base/helpers.h"
|
| @@ -2224,7 +2225,7 @@ TEST_F(PortTest, TestWritableState) {
|
|
|
| // Data should be unsendable until the connection is accepted.
|
| char data[] = "abcd";
|
| - int data_size = ARRAY_SIZE(data);
|
| + int data_size = arraysize(data);
|
| rtc::PacketOptions options;
|
| EXPECT_EQ(SOCKET_ERROR, ch1.conn()->Send(data, data_size, options));
|
|
|
|
|