Chromium Code Reviews| Index: ipc/ipc_channel_nacl.cc |
| diff --git a/ipc/ipc_channel_nacl.cc b/ipc/ipc_channel_nacl.cc |
| index 783ee2620603febd27e669eab58bc074c587d288..e1cccb3c0156f5fb952393ae03399a0de49e30f4 100644 |
| --- a/ipc/ipc_channel_nacl.cc |
| +++ b/ipc/ipc_channel_nacl.cc |
| @@ -37,7 +37,7 @@ bool ReadDataOnReaderThread(int pipe, MessageContents* contents) { |
| return false; |
| contents->data.resize(Channel::kReadBufferSize); |
| - contents->fds.resize(FileDescriptorSet::kMaxDescriptorsPerMessage); |
| + contents->fds.resize(NACL_ABI_IMC_DESC_MAX); |
|
teravest
2014/11/10 20:36:12
Won't this still limit the number of fds to 8 (ins
Yusuke Sato
2014/11/11 00:58:35
It's still limited to 8 and I think that's fine be
|
| NaClAbiNaClImcMsgIoVec iov = { &contents->data[0], contents->data.size() }; |
| NaClAbiNaClImcMsgHdr msg = { |