Index: mojo/edk/system/message_pipe.cc |
diff --git a/mojo/edk/system/message_pipe.cc b/mojo/edk/system/message_pipe.cc |
index 473bf5d49baa55932945ed7bb56f746d07e2746b..b17344c2091a2e6fe474d5f06e2d1cc44aa5f341 100644 |
--- a/mojo/edk/system/message_pipe.cc |
+++ b/mojo/edk/system/message_pipe.cc |
@@ -352,7 +352,7 @@ MojoResult MessagePipe::AttachTransportsNoLock( |
for (size_t i = 0; i < transports->size(); i++) { |
if (!(*transports)[i].is_valid()) |
continue; |
- if ((*transports)[i].GetType() == Dispatcher::kTypeMessagePipe) { |
+ if ((*transports)[i].GetType() == Dispatcher::Type::MESSAGE_PIPE) { |
MessagePipeDispatcherTransport mp_transport((*transports)[i]); |
if (mp_transport.GetMessagePipe() == this) { |
// The other case should have been disallowed by |Core|. (Note: |port| |