Index: net/dns/mock_mdns_socket_factory.cc |
diff --git a/net/dns/mock_mdns_socket_factory.cc b/net/dns/mock_mdns_socket_factory.cc |
index 0bb8c5401dd8a8c7fb663fb2ec9bc298bac9bb73..681d1ec81766b96e5e3dcd77105605572ade6f7e 100644 |
--- a/net/dns/mock_mdns_socket_factory.cc |
+++ b/net/dns/mock_mdns_socket_factory.cc |
@@ -82,7 +82,7 @@ void MockMDnsSocketFactory::CreateSocket( |
this, |
&MockMDnsSocketFactory::RecvFromInternal)); |
- sockets->push_back(new_socket.release()); |
+ sockets->push_back(new_socket.Pass()); |
} |
void MockMDnsSocketFactory::SimulateReceive(const uint8* packet, int size) { |