Index: webrtc/p2p/base/turnserver.h |
diff --git a/webrtc/p2p/base/turnserver.h b/webrtc/p2p/base/turnserver.h |
index e520a9ef654314cb08cfb7497db0379d33ae8782..c9eb803d65c949c93617cdcbf6f28e810b3ed40a 100644 |
--- a/webrtc/p2p/base/turnserver.h |
+++ b/webrtc/p2p/base/turnserver.h |
@@ -13,6 +13,7 @@ |
#include <list> |
#include <map> |
+#include <memory> |
#include <set> |
#include <string> |
@@ -125,7 +126,7 @@ class TurnServerAllocation : public rtc::MessageHandler, |
TurnServer* server_; |
rtc::Thread* thread_; |
TurnServerConnection conn_; |
- rtc::scoped_ptr<rtc::AsyncPacketSocket> external_socket_; |
+ std::unique_ptr<rtc::AsyncPacketSocket> external_socket_; |
std::string key_; |
std::string transaction_id_; |
std::string username_; |
@@ -269,8 +270,7 @@ class TurnServer : public sigslot::has_slots<> { |
InternalSocketMap server_sockets_; |
ServerSocketMap server_listen_sockets_; |
- rtc::scoped_ptr<rtc::PacketSocketFactory> |
- external_socket_factory_; |
+ std::unique_ptr<rtc::PacketSocketFactory> external_socket_factory_; |
rtc::SocketAddress external_addr_; |
AllocationMap allocations_; |