| Index: webrtc/api/quicdatatransport_unittest.cc
|
| diff --git a/webrtc/api/quicdatatransport_unittest.cc b/webrtc/api/quicdatatransport_unittest.cc
|
| index 312e825ac464ce97a6736289a597a28acf92ffda..ef9af36b852882fb6fd76990d563518432e65f54 100644
|
| --- a/webrtc/api/quicdatatransport_unittest.cc
|
| +++ b/webrtc/api/quicdatatransport_unittest.cc
|
| @@ -64,9 +64,9 @@ class QuicDataTransportPeer {
|
| public:
|
| QuicDataTransportPeer()
|
| : quic_data_transport_(rtc::Thread::Current(), rtc::Thread::Current()),
|
| - ice_transport_channel_("data", 0),
|
| - quic_transport_channel_(&ice_transport_channel_) {
|
| - ice_transport_channel_.SetAsync(true);
|
| + ice_transport_channel_(new FakeTransportChannel("data", 0)),
|
| + quic_transport_channel_(ice_transport_channel_) {
|
| + ice_transport_channel_->SetAsync(true);
|
| }
|
|
|
| void GenerateCertificateAndFingerprint() {
|
| @@ -79,9 +79,9 @@ class QuicDataTransportPeer {
|
|
|
| // Connects |ice_transport_channel_| to that of the other peer.
|
| void Connect(QuicDataTransportPeer* other_peer) {
|
| - ice_transport_channel_.Connect();
|
| - other_peer->ice_transport_channel_.Connect();
|
| - ice_transport_channel_.SetDestination(&other_peer->ice_transport_channel_);
|
| + ice_transport_channel_->Connect();
|
| + other_peer->ice_transport_channel_->Connect();
|
| + ice_transport_channel_->SetDestination(other_peer->ice_transport_channel_);
|
| }
|
|
|
| rtc::scoped_ptr<rtc::SSLFingerprint>& local_fingerprint() {
|
| @@ -122,7 +122,7 @@ class QuicDataTransportPeer {
|
| }
|
|
|
| QuicDataTransport quic_data_transport_;
|
| - FakeTransportChannel ice_transport_channel_;
|
| + FakeTransportChannel* ice_transport_channel_;
|
| QuicTransportChannel quic_transport_channel_;
|
| rtc::scoped_ptr<rtc::SSLFingerprint> local_fingerprint_;
|
| };
|
|
|