Index: webrtc/base/macsocketserver_unittest.cc |
diff --git a/webrtc/base/macsocketserver_unittest.cc b/webrtc/base/macsocketserver_unittest.cc |
index ecb9a706b71ec60935ae0739b5db0479b0f63abf..87cfe07b2f1644ddd16f1945c68e6be729355089 100644 |
--- a/webrtc/base/macsocketserver_unittest.cc |
+++ b/webrtc/base/macsocketserver_unittest.cc |
@@ -8,8 +8,9 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
+#include <memory> |
+ |
#include "webrtc/base/gunit.h" |
-#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/base/socket_unittest.h" |
#include "webrtc/base/thread.h" |
#include "webrtc/base/macsocketserver.h" |
@@ -98,7 +99,7 @@ class MacAsyncSocketTest : public SocketTest { |
virtual MacBaseSocketServer* CreateSocketServer() { |
return new MacCFSocketServer(); |
}; |
- rtc::scoped_ptr<MacBaseSocketServer> server_; |
+ std::unique_ptr<MacBaseSocketServer> server_; |
SocketServerScope scope_; |
}; |