diff options
Diffstat (limited to 'mojo/system/message_pipe.cc')
-rw-r--r-- | mojo/system/message_pipe.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mojo/system/message_pipe.cc b/mojo/system/message_pipe.cc index ed5b4ca..76c0fae 100644 --- a/mojo/system/message_pipe.cc +++ b/mojo/system/message_pipe.cc @@ -159,7 +159,9 @@ MojoResult MessagePipe::EnqueueMessage( } } - return endpoints_[port]->EnqueueMessage(message.Pass(), transports); + // The endpoint's |EnqueueMessage()| may not report failure. + endpoints_[port]->EnqueueMessage(message.Pass(), transports); + return MOJO_RESULT_OK; } void MessagePipe::Attach(unsigned port, |