| Index: base/sync_socket_win.cc
|
| diff --git a/base/sync_socket_win.cc b/base/sync_socket_win.cc
|
| index e16b925bbdf000299566bab887f4235b95f652b5..e3984034cb17627d1d017d6f374415c2772f2f8c 100644
|
| --- a/base/sync_socket_win.cc
|
| +++ b/base/sync_socket_win.cc
|
| @@ -121,7 +121,7 @@ size_t CancelableFileOperation(Function operation,
|
| DWORD timeout_in_ms) {
|
| ThreadRestrictions::AssertIOAllowed();
|
| // The buffer must be byte size or the length check won't make much sense.
|
| - COMPILE_ASSERT(sizeof(buffer[0]) == sizeof(char), incorrect_buffer_type);
|
| + static_assert(sizeof(buffer[0]) == sizeof(char), "incorrect_buffer_type");
|
| DCHECK_GT(length, 0u);
|
| DCHECK_LE(length, kMaxMessageLength);
|
| DCHECK_NE(file, SyncSocket::kInvalidHandle);
|
|
|