Index: base/sync_socket_win.cc |
diff --git a/base/sync_socket_win.cc b/base/sync_socket_win.cc |
index a8deedb43d311bd6264feded98f68fc812527e21..e5088162433f2f402a8809c1342142c028e07341 100644 |
--- a/base/sync_socket_win.cc |
+++ b/base/sync_socket_win.cc |
@@ -150,7 +150,7 @@ size_t CancelableFileOperation(Function operation, |
if (::GetLastError() == ERROR_IO_PENDING) { |
HANDLE events[] = { io_event->handle(), cancel_event->handle() }; |
const int wait_result = WaitForMultipleObjects( |
- ARRAYSIZE_UNSAFE(events), events, FALSE, |
+ arraysize(events), events, FALSE, |
timeout_in_ms == INFINITE ? |
timeout_in_ms : |
static_cast<DWORD>( |