Index: mojo/system/message_pipe.cc |
diff --git a/mojo/system/message_pipe.cc b/mojo/system/message_pipe.cc |
index f86a13449d9519d0e88cfd65ecd20c91d5a56102..c7acbe692118e43d23220522eb741bb12a62b783 100644 |
--- a/mojo/system/message_pipe.cc |
+++ b/mojo/system/message_pipe.cc |
@@ -187,18 +187,6 @@ MojoResult MessagePipe::EnqueueMessage(unsigned port, |
return EnqueueMessageInternal(port, message.Pass(), nullptr); |
} |
-bool MessagePipe::Attach(unsigned port, ChannelEndpoint* channel_endpoint) { |
- DCHECK(port == 0 || port == 1); |
- DCHECK(channel_endpoint); |
- |
- base::AutoLock locker(lock_); |
- if (!endpoints_[port]) |
- return false; |
- |
- DCHECK_EQ(endpoints_[port]->GetType(), MessagePipeEndpoint::kTypeProxy); |
- return true; |
-} |
- |
void MessagePipe::Run(unsigned port) { |
DCHECK(port == 0 || port == 1); |