| Index: mojo/public/cpp/bindings/associated_interface_ptr.h | 
| diff --git a/mojo/public/cpp/bindings/associated_interface_ptr.h b/mojo/public/cpp/bindings/associated_interface_ptr.h | 
| index 0344bda31fba0380cd4e3a39e88bde090f66ef24..2ca5283658cf70c7382864d5d9f8b022c9eb142c 100644 | 
| --- a/mojo/public/cpp/bindings/associated_interface_ptr.h | 
| +++ b/mojo/public/cpp/bindings/associated_interface_ptr.h | 
| @@ -136,13 +136,14 @@ class AssociatedInterfacePtr { | 
| // | 
| // This method may only be called after the AssociatedInterfacePtr has been | 
| // bound. | 
| -  void set_connection_error_handler(const base::Closure& error_handler) { | 
| -    internal_state_.set_connection_error_handler(error_handler); | 
| +  void set_connection_error_handler(base::OnceClosure error_handler) { | 
| +    internal_state_.set_connection_error_handler(std::move(error_handler)); | 
| } | 
|  | 
| void set_connection_error_with_reason_handler( | 
| -      const ConnectionErrorWithReasonCallback& error_handler) { | 
| -    internal_state_.set_connection_error_with_reason_handler(error_handler); | 
| +      ConnectionErrorWithReasonCallback error_handler) { | 
| +    internal_state_.set_connection_error_with_reason_handler( | 
| +        std::move(error_handler)); | 
| } | 
|  | 
| // Unbinds and returns the associated interface pointer information which | 
|  |