Index: webrtc/examples/peerconnection/client/peer_connection_client.h |
diff --git a/webrtc/examples/peerconnection/client/peer_connection_client.h b/webrtc/examples/peerconnection/client/peer_connection_client.h |
index b7abfdfe18e80684efb77c0a419c7f6e484fe3af..bc8b8cc9c9b53c1bc8a0a3c5d745e1d0c05a9df4 100644 |
--- a/webrtc/examples/peerconnection/client/peer_connection_client.h |
+++ b/webrtc/examples/peerconnection/client/peer_connection_client.h |
@@ -13,6 +13,7 @@ |
#pragma once |
#include <map> |
+#include <memory> |
#include <string> |
#include "webrtc/base/nethelpers.h" |
@@ -109,8 +110,8 @@ class PeerConnectionClient : public sigslot::has_slots<>, |
PeerConnectionClientObserver* callback_; |
rtc::SocketAddress server_address_; |
rtc::AsyncResolver* resolver_; |
- rtc::scoped_ptr<rtc::AsyncSocket> control_socket_; |
- rtc::scoped_ptr<rtc::AsyncSocket> hanging_get_; |
+ std::unique_ptr<rtc::AsyncSocket> control_socket_; |
+ std::unique_ptr<rtc::AsyncSocket> hanging_get_; |
std::string onconnect_data_; |
std::string control_data_; |
std::string notification_data_; |