Index: net/dns/mdns_client_impl.cc |
diff --git a/net/dns/mdns_client_impl.cc b/net/dns/mdns_client_impl.cc |
index ac13bf5a311797127c9b5d4b3fa58860048b5065..b4cae7c366f99dbd4137e324801ef2843b36dbca 100644 |
--- a/net/dns/mdns_client_impl.cc |
+++ b/net/dns/mdns_client_impl.cc |
@@ -50,7 +50,7 @@ void MDnsSocketFactoryImpl::CreateSockets( |
scoped_ptr<DatagramServerSocket> socket( |
CreateAndBindMDnsSocket(interfaces[i].second, interfaces[i].first)); |
if (socket) |
- sockets->push_back(socket.release()); |
+ sockets->push_back(socket.Pass()); |
} |
} |