Index: webrtc/base/asyncudpsocket.cc |
diff --git a/webrtc/base/asyncudpsocket.cc b/webrtc/base/asyncudpsocket.cc |
index 4e8073308430ed3da55c6a729fdd6278732cfcec..7eb2a0e09e257cbeede3481df65bf8fd0cb61409 100644 |
--- a/webrtc/base/asyncudpsocket.cc |
+++ b/webrtc/base/asyncudpsocket.cc |
@@ -18,7 +18,7 @@ static const int BUF_SIZE = 64 * 1024; |
AsyncUDPSocket* AsyncUDPSocket::Create( |
AsyncSocket* socket, |
const SocketAddress& bind_address) { |
- scoped_ptr<AsyncSocket> owned_socket(socket); |
+ std::unique_ptr<AsyncSocket> owned_socket(socket); |
if (socket->Bind(bind_address) < 0) { |
LOG(LS_ERROR) << "Bind() failed with error " << socket->GetError(); |
return NULL; |