| Index: mojo/public/cpp/bindings/lib/interface_ptr_state.h
|
| diff --git a/mojo/public/cpp/bindings/lib/interface_ptr_state.h b/mojo/public/cpp/bindings/lib/interface_ptr_state.h
|
| index f4c63d2f022291ec748b1602c0a07fc46354c9bb..76f195d91f51414dcceb5824c4bc47a0c80abd76 100644
|
| --- a/mojo/public/cpp/bindings/lib/interface_ptr_state.h
|
| +++ b/mojo/public/cpp/bindings/lib/interface_ptr_state.h
|
| @@ -79,11 +79,9 @@ class InterfacePtrState {
|
| endpoint_client_->control_message_proxy()->FlushForTesting();
|
| }
|
|
|
| - void SendDisconnectReason(uint32_t custom_reason,
|
| - const std::string& description) {
|
| + void CloseWithReason(uint32_t custom_reason, const std::string& description) {
|
| ConfigureProxyIfNecessary();
|
| - endpoint_client_->control_message_proxy()->SendDisconnectReason(
|
| - custom_reason, description);
|
| + endpoint_client_->CloseWithReason(custom_reason, description);
|
| }
|
|
|
| void Swap(InterfacePtrState* other) {
|
|
|