Index: webrtc/p2p/quic/quicsession.h |
diff --git a/webrtc/p2p/quic/quicsession.h b/webrtc/p2p/quic/quicsession.h |
index e0ea296b59cbcef17adb62f4e7fd6678be908d8f..a6da38a13d6581c668a24aa5624c1ff1a5415e01 100644 |
--- a/webrtc/p2p/quic/quicsession.h |
+++ b/webrtc/p2p/quic/quicsession.h |
@@ -11,6 +11,7 @@ |
#ifndef WEBRTC_P2P_QUIC_QUICSESSION_H_ |
#define WEBRTC_P2P_QUIC_QUICSESSION_H_ |
+#include <memory> |
#include <string> |
#include "net/quic/quic_crypto_client_stream.h" |
@@ -29,7 +30,7 @@ namespace cricket { |
// reading/writing of data using QUIC packets. |
class QuicSession : public net::QuicSession, public sigslot::has_slots<> { |
public: |
- QuicSession(rtc::scoped_ptr<net::QuicConnection> connection, |
+ QuicSession(std::unique_ptr<net::QuicConnection> connection, |
const net::QuicConfig& config); |
~QuicSession() override; |
@@ -82,7 +83,7 @@ class QuicSession : public net::QuicSession, public sigslot::has_slots<> { |
virtual ReliableQuicStream* CreateDataStream(net::QuicStreamId id); |
private: |
- rtc::scoped_ptr<net::QuicCryptoStream> crypto_stream_; |
+ std::unique_ptr<net::QuicCryptoStream> crypto_stream_; |
RTC_DISALLOW_COPY_AND_ASSIGN(QuicSession); |
}; |