Index: webrtc/p2p/quic/quictransportchannel.h |
diff --git a/webrtc/p2p/quic/quictransportchannel.h b/webrtc/p2p/quic/quictransportchannel.h |
index 847af7f02f0769dd2db8d74f5fad3efda6deac76..2ce17f8f909030d3e1ed0231269ed45319922dee 100644 |
--- a/webrtc/p2p/quic/quictransportchannel.h |
+++ b/webrtc/p2p/quic/quictransportchannel.h |
@@ -273,7 +273,7 @@ class QuicTransportChannel : public TransportChannelImpl, |
rtc::Thread* worker_thread_; |
// Underlying channel which is responsible for connecting with the remote peer |
// and sending/receiving packets across the network. |
- TransportChannelImpl* const channel_; |
+ std::unique_ptr<TransportChannelImpl> channel_; |
// Connectivity state of QuicTransportChannel. |
QuicTransportState quic_state_ = QUIC_TRANSPORT_NEW; |
// QUIC session which establishes the crypto handshake and converts data |