Index: webrtc/p2p/base/testrelayserver.h |
diff --git a/webrtc/p2p/base/testrelayserver.h b/webrtc/p2p/base/testrelayserver.h |
index 87cb9e5dc326f5d527df25106603363a3b7fae44..ba64008e5457288b0cec7aaee7244c7aa4952bc7 100644 |
--- a/webrtc/p2p/base/testrelayserver.h |
+++ b/webrtc/p2p/base/testrelayserver.h |
@@ -11,6 +11,8 @@ |
#ifndef WEBRTC_P2P_BASE_TESTRELAYSERVER_H_ |
#define WEBRTC_P2P_BASE_TESTRELAYSERVER_H_ |
+#include <memory> |
+ |
#include "webrtc/p2p/base/relayserver.h" |
#include "webrtc/base/asynctcpsocket.h" |
#include "webrtc/base/scoped_ptr.h" |
@@ -90,10 +92,10 @@ class TestRelayServer : public sigslot::has_slots<> { |
} |
private: |
cricket::RelayServer server_; |
- rtc::scoped_ptr<rtc::AsyncSocket> tcp_int_socket_; |
- rtc::scoped_ptr<rtc::AsyncSocket> tcp_ext_socket_; |
- rtc::scoped_ptr<rtc::AsyncSocket> ssl_int_socket_; |
- rtc::scoped_ptr<rtc::AsyncSocket> ssl_ext_socket_; |
+ std::unique_ptr<rtc::AsyncSocket> tcp_int_socket_; |
+ std::unique_ptr<rtc::AsyncSocket> tcp_ext_socket_; |
+ std::unique_ptr<rtc::AsyncSocket> ssl_int_socket_; |
+ std::unique_ptr<rtc::AsyncSocket> ssl_ext_socket_; |
}; |
} // namespace cricket |