Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Unified Diff: mojo/system/channel.cc

Issue 68993005: Mojo: More plumbing to support sending handles over MessagePipes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/system/dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/channel.cc
diff --git a/mojo/system/channel.cc b/mojo/system/channel.cc
index 095e44cab1feddb6be2c662d0d734bc13fa1c23d..1160d738abc9063439e5837548e76501ace0b6e2 100644
--- a/mojo/system/channel.cc
+++ b/mojo/system/channel.cc
@@ -186,8 +186,8 @@ void Channel::OnReadMessageForDownstream(const MessageInTransit& message) {
MessageInTransit* own_message = MessageInTransit::Create(
message.type(), message.subtype(), message.data(), message.data_size());
if (endpoint_info.message_pipe->EnqueueMessage(
- MessagePipe::GetPeerPort(endpoint_info.port),
- own_message) != MOJO_RESULT_OK) {
+ MessagePipe::GetPeerPort(endpoint_info.port), own_message, NULL) !=
+ MOJO_RESULT_OK) {
HandleLocalError(base::StringPrintf(
"Failed to enqueue message to local destination ID %u",
static_cast<unsigned>(local_id)));
« no previous file with comments | « no previous file | mojo/system/dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698