summaryrefslogtreecommitdiffstats
path: root/net/dns/dns_socket_pool.cc
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2015-12-25 19:56:48 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-26 03:57:46 +0000
commitc7eeda42aff650547a3da73b0e0f6ab3f9b0ef13 (patch)
tree40b0bcb9cc341020cebfc29b2bcce331b034f5b3 /net/dns/dns_socket_pool.cc
parent09487931ca01d32ab254555b29c51d648f45be3c (diff)
downloadchromium_src-c7eeda42aff650547a3da73b0e0f6ab3f9b0ef13.zip
chromium_src-c7eeda42aff650547a3da73b0e0f6ab3f9b0ef13.tar.gz
chromium_src-c7eeda42aff650547a3da73b0e0f6ab3f9b0ef13.tar.bz2
Convert Pass()→std::move() in //net
BUG=557422 R=avi@chromium.org TBR=gavinp@chromium.org Review URL: https://codereview.chromium.org/1545233002 Cr-Commit-Position: refs/heads/master@{#366889}
Diffstat (limited to 'net/dns/dns_socket_pool.cc')
-rw-r--r--net/dns/dns_socket_pool.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dns/dns_socket_pool.cc b/net/dns/dns_socket_pool.cc
index e937f9c..e365d57 100644
--- a/net/dns/dns_socket_pool.cc
+++ b/net/dns/dns_socket_pool.cc
@@ -87,7 +87,7 @@ scoped_ptr<DatagramClientSocket> DnsSocketPool::CreateConnectedSocket(
LOG(WARNING) << "Failed to create socket.";
}
- return socket.Pass();
+ return socket;
}
class NullDnsSocketPool : public DnsSocketPool {