Index: webrtc/base/virtualsocketserver.cc |
diff --git a/webrtc/base/virtualsocketserver.cc b/webrtc/base/virtualsocketserver.cc |
index c6d402f1f3f27877b3e13a0afba8aa6c613da9ce..f5b7db7f07f514c5c6a82e84eef7c5d12c4f1d31 100644 |
--- a/webrtc/base/virtualsocketserver.cc |
+++ b/webrtc/base/virtualsocketserver.cc |
@@ -15,6 +15,7 @@ |
#include <algorithm> |
#include <map> |
+#include <memory> |
#include <vector> |
#include "webrtc/base/checks.h" |
@@ -771,7 +772,7 @@ int VirtualSocketServer::SendUdp(VirtualSocket* socket, |
VirtualSocket* recipient = LookupBinding(remote_addr); |
if (!recipient) { |
// Make a fake recipient for address family checking. |
- scoped_ptr<VirtualSocket> dummy_socket( |
+ std::unique_ptr<VirtualSocket> dummy_socket( |
CreateSocketInternal(AF_INET, SOCK_DGRAM)); |
dummy_socket->SetLocalAddress(remote_addr); |
if (!CanInteractWith(socket, dummy_socket.get())) { |