Index: webrtc/p2p/base/tcpport.h |
diff --git a/webrtc/p2p/base/tcpport.h b/webrtc/p2p/base/tcpport.h |
index cfc6245601e9cd004713c77381053bce6f8ab176..77bbd09eab0e2da449e72c6df467eb609e0044c8 100644 |
--- a/webrtc/p2p/base/tcpport.h |
+++ b/webrtc/p2p/base/tcpport.h |
@@ -12,7 +12,9 @@ |
#define WEBRTC_P2P_BASE_TCPPORT_H_ |
#include <list> |
+#include <memory> |
#include <string> |
+ |
#include "webrtc/p2p/base/port.h" |
#include "webrtc/base/asyncpacketsocket.h" |
@@ -164,7 +166,7 @@ class TCPConnection : public Connection { |
const rtc::PacketTime& packet_time); |
void OnReadyToSend(rtc::AsyncPacketSocket* socket); |
- rtc::scoped_ptr<rtc::AsyncPacketSocket> socket_; |
+ std::unique_ptr<rtc::AsyncPacketSocket> socket_; |
int error_; |
bool outgoing_; |