summaryrefslogtreecommitdiffstats
path: root/content/public/common/service_registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/public/common/service_registry.h')
-rw-r--r--content/public/common/service_registry.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/public/common/service_registry.h b/content/public/common/service_registry.h
index 5832131..ad8aaf0 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)));
}
};