summaryrefslogtreecommitdiffstats
path: root/net/dns/dns_socket_pool.cc
diff options
context:
space:
mode:
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 {