Index: net/socket/client_socket_pool_base.h |
diff --git a/net/socket/client_socket_pool_base.h b/net/socket/client_socket_pool_base.h |
index c033724fefedb23780d71937f20ee6edea5ed7a2..cd13ce0dbdd41ab0398d2600d34c4cbc488e6528 100644 |
--- a/net/socket/client_socket_pool_base.h |
+++ b/net/socket/client_socket_pool_base.h |
@@ -24,13 +24,13 @@ |
#include <stddef.h> |
#include <stdint.h> |
- |
#include <cstddef> |
#include <deque> |
#include <list> |
#include <map> |
#include <set> |
#include <string> |
+#include <utility> |
#include <vector> |
#include "base/macros.h" |
@@ -757,7 +757,7 @@ class ClientSocketPoolBase { |
internal::ClientSocketPoolBaseHelper::NORMAL, |
params->ignore_limits(), |
params, net_log)); |
- return helper_.RequestSocket(group_name, request.Pass()); |
+ return helper_.RequestSocket(group_name, std::move(request)); |
} |
// RequestSockets bundles up the parameters into a Request and then forwards |
@@ -781,7 +781,7 @@ class ClientSocketPoolBase { |
void ReleaseSocket(const std::string& group_name, |
scoped_ptr<StreamSocket> socket, |
int id) { |
- return helper_.ReleaseSocket(group_name, socket.Pass(), id); |
+ return helper_.ReleaseSocket(group_name, std::move(socket), id); |
} |
void FlushWithError(int error) { helper_.FlushWithError(error); } |