Index: third_party/mojo/src/mojo/edk/system/message_pipe.cc |
diff --git a/third_party/mojo/src/mojo/edk/system/message_pipe.cc b/third_party/mojo/src/mojo/edk/system/message_pipe.cc |
index 554401e875bd2ab8103ae07931406abe6b823928..796ac642c7b1788dc26ddf2885381e7810847976 100644 |
--- a/third_party/mojo/src/mojo/edk/system/message_pipe.cc |
+++ b/third_party/mojo/src/mojo/edk/system/message_pipe.cc |
@@ -152,8 +152,8 @@ MojoResult MessagePipe::WriteMessage( |
return EnqueueMessageNoLock( |
GetPeerPort(port), |
make_scoped_ptr(new MessageInTransit( |
- MessageInTransit::kTypeEndpoint, |
- MessageInTransit::kSubtypeEndpointData, num_bytes, bytes)), |
+ MessageInTransit::kTypeEndpointClient, |
+ MessageInTransit::kSubtypeEndpointClientData, num_bytes, bytes)), |
transports); |
} |
@@ -318,7 +318,7 @@ MojoResult MessagePipe::EnqueueMessageNoLock( |
DCHECK(port == 0 || port == 1); |
DCHECK(message); |
- DCHECK_EQ(message->type(), MessageInTransit::kTypeEndpoint); |
+ DCHECK_EQ(message->type(), MessageInTransit::kTypeEndpointClient); |
DCHECK(endpoints_[GetPeerPort(port)]); |
// The destination port need not be open, unlike the source port. |