Index: mojo/system/message_pipe.cc |
diff --git a/mojo/system/message_pipe.cc b/mojo/system/message_pipe.cc |
index ed73c0c6be41c00dc8fe6142199ae9349265b55c..d12e303c916d0396d2763bda3a9e9731d0076870 100644 |
--- a/mojo/system/message_pipe.cc |
+++ b/mojo/system/message_pipe.cc |
@@ -192,7 +192,6 @@ void MessagePipe::OnRemove(unsigned port) { |
if (!endpoints_[port]) |
return; |
- endpoints_[port]->OnRemove(); |
if (endpoints_[destination_port]) { |
if (!endpoints_[destination_port]->OnPeerClose()) |
endpoints_[destination_port].reset(); |