Index: mojo/public/cpp/bindings/lib/pipe_control_message_proxy.cc |
diff --git a/mojo/public/cpp/bindings/lib/pipe_control_message_proxy.cc b/mojo/public/cpp/bindings/lib/pipe_control_message_proxy.cc |
index 30daac7f825ec1945b43b233473f0af9024da342..701108e1637cb7dd40e66fb6d7ade1c38301bf4d 100644 |
--- a/mojo/public/cpp/bindings/lib/pipe_control_message_proxy.cc |
+++ b/mojo/public/cpp/bindings/lib/pipe_control_message_proxy.cc |
@@ -48,20 +48,6 @@ void PipeControlMessageProxy::NotifyPeerEndpointClosed( |
ALLOW_UNUSED_LOCAL(ok); |
} |
-void PipeControlMessageProxy::NotifyEndpointClosedBeforeSent(InterfaceId id) { |
- DCHECK(!IsMasterInterfaceId(id)); |
- |
- auto event = pipe_control::AssociatedEndpointClosedBeforeSentEvent::New(); |
- event->id = id; |
- |
- auto input = pipe_control::RunOrClosePipeInput::New(); |
- input->set_associated_endpoint_closed_before_sent_event(std::move(event)); |
- |
- Message message(ConstructRunOrClosePipeMessage(std::move(input))); |
- bool ok = receiver_->Accept(&message); |
- ALLOW_UNUSED_LOCAL(ok); |
-} |
- |
// static |
Message PipeControlMessageProxy::ConstructPeerEndpointClosedMessage( |
InterfaceId id, |