| Index: content/public/common/service_registry.h
|
| diff --git a/content/public/common/service_registry.h b/content/public/common/service_registry.h
|
| index 5832131631a8cb2a487753ddda526f861c5d7848..ad8aaf0dadac407f61959539f6341c6e49e6980f 100644
|
| --- a/content/public/common/service_registry.h
|
| +++ b/content/public/common/service_registry.h
|
| @@ -6,6 +6,7 @@
|
| #define CONTENT_PUBLIC_COMMON_SERVICE_REGISTRY_H_
|
|
|
| #include <string>
|
| +#include <utility>
|
|
|
| #include "base/bind.h"
|
| #include "base/callback.h"
|
| @@ -65,7 +66,7 @@ class CONTENT_EXPORT ServiceRegistry {
|
| const base::Callback<void(mojo::InterfaceRequest<Interface>)>
|
| service_factory,
|
| mojo::ScopedMessagePipeHandle handle) {
|
| - service_factory.Run(mojo::MakeRequest<Interface>(handle.Pass()));
|
| + service_factory.Run(mojo::MakeRequest<Interface>(std::move(handle)));
|
| }
|
| };
|
|
|
|
|