| Index: mojo/public/cpp/bindings/associated_binding.h
|
| diff --git a/mojo/public/cpp/bindings/associated_binding.h b/mojo/public/cpp/bindings/associated_binding.h
|
| index 59411666f5aca80a6e05953070ccb821ef2040e3..b4c828b727b38f02ca0326443a3cc92e3a5b8a7a 100644
|
| --- a/mojo/public/cpp/bindings/associated_binding.h
|
| +++ b/mojo/public/cpp/bindings/associated_binding.h
|
| @@ -96,9 +96,10 @@ class AssociatedBinding : public AssociatedBindingBase {
|
|
|
| // Constructs an incomplete associated binding that will use the
|
| // implementation |impl|. It may be completed with a subsequent call to the
|
| - // |Bind| method. Does not take ownership of |impl|, which must outlive this
|
| - // object.
|
| - explicit AssociatedBinding(ImplPointerType impl) { stub_.set_sink(impl); }
|
| + // |Bind| method.
|
| + explicit AssociatedBinding(ImplPointerType impl) {
|
| + stub_.set_sink(std::move(impl));
|
| + }
|
|
|
| // Constructs a completed associated binding of |impl|. The output |ptr_info|
|
| // should be sent by another interface. |impl| must outlive this object.
|
|
|