| Index: mojo/public/cpp/bindings/interface_impl.h
|
| diff --git a/mojo/public/cpp/bindings/interface_impl.h b/mojo/public/cpp/bindings/interface_impl.h
|
| index 091710317b7d6981cff41fa3a7a9df02af658ff1..5663cc3e302934acdc5c241e70efacbaba23cd34 100644
|
| --- a/mojo/public/cpp/bindings/interface_impl.h
|
| +++ b/mojo/public/cpp/bindings/interface_impl.h
|
| @@ -41,11 +41,13 @@ class InterfaceImpl : public Interface, public ErrorHandler {
|
| Client* client() { return binding_.client(); }
|
| internal::Router* internal_router() { return binding_.internal_router(); }
|
|
|
| + // Implements ErrorHandler.
|
| + //
|
| // Called when the client is no longer connected to this instance. NOTE: The
|
| // client() method continues to return a non-null pointer after this method
|
| // is called. After this method is called, any method calls made on client()
|
| // will be silently ignored.
|
| - virtual void OnConnectionError() {}
|
| + void OnConnectionError() override {}
|
|
|
| void set_delete_on_error(bool delete_on_error) {
|
| error_handler_impl_.set_delete_on_error(delete_on_error);
|
|
|