Index: third_party/mojo/src/mojo/edk/system/channel.cc |
diff --git a/third_party/mojo/src/mojo/edk/system/channel.cc b/third_party/mojo/src/mojo/edk/system/channel.cc |
index 71d7208803e3736dd916362c61b1930ddf490533..a7da3bfedcfec8292b626f4b936de21e822b366b 100644 |
--- a/third_party/mojo/src/mojo/edk/system/channel.cc |
+++ b/third_party/mojo/src/mojo/edk/system/channel.cc |
@@ -272,6 +272,7 @@ void Channel::OnReadMessage( |
DCHECK(creation_thread_checker_.CalledOnValidThread()); |
switch (message_view.type()) { |
+ case MessageInTransit::kTypeEndpointClient: |
case MessageInTransit::kTypeEndpoint: |
OnReadMessageForEndpoint(message_view, platform_handles.Pass()); |
break; |
@@ -321,7 +322,8 @@ void Channel::OnReadMessageForEndpoint( |
const MessageInTransit::View& message_view, |
embedder::ScopedPlatformHandleVectorPtr platform_handles) { |
DCHECK(creation_thread_checker_.CalledOnValidThread()); |
- DCHECK(message_view.type() == MessageInTransit::kTypeEndpoint); |
+ DCHECK(message_view.type() == MessageInTransit::kTypeEndpointClient || |
+ message_view.type() == MessageInTransit::kTypeEndpoint); |
ChannelEndpointId local_id = message_view.destination_id(); |
if (!local_id.is_valid()) { |