Chromium Code Reviews| Index: mojo/edk/embedder/platform_channel_utils_posix.cc |
| diff --git a/mojo/edk/embedder/platform_channel_utils_posix.cc b/mojo/edk/embedder/platform_channel_utils_posix.cc |
| index d2a9b566c6af2eaa07906ebe1c2067beda7b58e6..9f4e9f90a3d31b502097d3c95cf891ed557aef09 100644 |
| --- a/mojo/edk/embedder/platform_channel_utils_posix.cc |
| +++ b/mojo/edk/embedder/platform_channel_utils_posix.cc |
| @@ -59,7 +59,8 @@ ssize_t PlatformChannelWrite(PlatformHandle h, |
| DCHECK(bytes); |
| DCHECK_GT(num_bytes, 0u); |
| -#if defined(OS_MACOSX) |
| +#if defined(OS_MACOSX) || defined(OS_NACL_NONSFI) |
| + // send() doesn't appear to work under NaCl-nonsfi. |
|
Mark Seaborn
2016/06/20 21:12:15
You can be more definite: "doesn't appear to work"
Anand Mistry (off Chromium)
2016/06/21 00:32:27
Done.
|
| return HANDLE_EINTR(write(h.handle, bytes, num_bytes)); |
| #else |
| return send(h.handle, bytes, num_bytes, kSendFlags); |