Index: webrtc/base/asynctcpsocket_unittest.cc |
diff --git a/webrtc/base/asynctcpsocket_unittest.cc b/webrtc/base/asynctcpsocket_unittest.cc |
index b931758640629a7e639642918d8a36e516a95cc2..592b61d536e6db24701548fa21f6233d35e81d75 100644 |
--- a/webrtc/base/asynctcpsocket_unittest.cc |
+++ b/webrtc/base/asynctcpsocket_unittest.cc |
@@ -8,12 +8,12 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
+#include <memory> |
#include <string> |
#include "webrtc/base/asynctcpsocket.h" |
#include "webrtc/base/gunit.h" |
#include "webrtc/base/physicalsocketserver.h" |
-#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/base/virtualsocketserver.h" |
namespace rtc { |
@@ -37,10 +37,10 @@ class AsyncTCPSocketTest |
} |
protected: |
- scoped_ptr<PhysicalSocketServer> pss_; |
- scoped_ptr<VirtualSocketServer> vss_; |
+ std::unique_ptr<PhysicalSocketServer> pss_; |
+ std::unique_ptr<VirtualSocketServer> vss_; |
AsyncSocket* socket_; |
- scoped_ptr<AsyncTCPSocket> tcp_socket_; |
+ std::unique_ptr<AsyncTCPSocket> tcp_socket_; |
bool ready_to_send_; |
}; |