| Index: webrtc/p2p/base/port_unittest.cc
|
| diff --git a/webrtc/p2p/base/port_unittest.cc b/webrtc/p2p/base/port_unittest.cc
|
| index c3e5df653852c528e0e6abf92ab1837256c71e2a..62ba572237319a9dac1547a73980d382072a24ad 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"
|
| @@ -2223,7 +2224,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));
|
|
|
|
|