Index: webrtc/api/quicdatachannel_unittest.cc |
diff --git a/webrtc/api/quicdatachannel_unittest.cc b/webrtc/api/quicdatachannel_unittest.cc |
index e701c29b4f31146a9436ac56096027e7b4eb0cba..7245ccfa2177b54eb381c9da2b61dc6399602253 100644 |
--- a/webrtc/api/quicdatachannel_unittest.cc |
+++ b/webrtc/api/quicdatachannel_unittest.cc |
@@ -120,8 +120,9 @@ class FakeQuicDataTransport : public sigslot::has_slots<> { |
DataChannelInit config; |
config.id = id; |
config.protocol = protocol; |
- rtc::scoped_refptr<QuicDataChannel> data_channel(new QuicDataChannel( |
- rtc::Thread::Current(), rtc::Thread::Current(), label, config)); |
+ rtc::scoped_refptr<QuicDataChannel> data_channel( |
+ new QuicDataChannel(rtc::Thread::Current(), rtc::Thread::Current(), |
+ rtc::Thread::Current(), label, config)); |
data_channel_by_id_[id] = data_channel; |
return data_channel; |
} |
@@ -201,8 +202,6 @@ class QuicDataChannelPeer { |
// Connects |ice_transport_channel_| to that of the other peer. |
void Connect(QuicDataChannelPeer* other_peer) { |
- ice_transport_channel_->Connect(); |
- other_peer->ice_transport_channel_->Connect(); |
ice_transport_channel_->SetDestination(other_peer->ice_transport_channel_); |
} |