| Index: webrtc/pc/channelmanager_unittest.cc
|
| diff --git a/webrtc/pc/channelmanager_unittest.cc b/webrtc/pc/channelmanager_unittest.cc
|
| index 84a8375a6f3801261a451fdf3ee8b67de46b08c5..cf54b913b82f0e43821c4d4d43227dd67a1f9530 100644
|
| --- a/webrtc/pc/channelmanager_unittest.cc
|
| +++ b/webrtc/pc/channelmanager_unittest.cc
|
| @@ -102,8 +102,8 @@ TEST_F(ChannelManagerTest, StartupShutdownOnThread) {
|
| // Test that we can create and destroy a voice and video channel.
|
| TEST_F(ChannelManagerTest, CreateDestroyChannels) {
|
| EXPECT_TRUE(cm_->Init());
|
| - cricket::TransportChannel* rtp_transport =
|
| - transport_controller_->CreateTransportChannel(
|
| + cricket::DtlsTransportInternal* rtp_transport =
|
| + transport_controller_->CreateDtlsTransport(
|
| cricket::CN_AUDIO, cricket::ICE_CANDIDATE_COMPONENT_RTP);
|
| cricket::VoiceChannel* voice_channel = cm_->CreateVoiceChannel(
|
| &fake_mc_, rtp_transport, nullptr /*rtcp_transport*/,
|
| @@ -136,8 +136,8 @@ TEST_F(ChannelManagerTest, CreateDestroyChannelsOnThread) {
|
| delete transport_controller_;
|
| transport_controller_ =
|
| new cricket::FakeTransportController(&network_, ICEROLE_CONTROLLING);
|
| - cricket::TransportChannel* rtp_transport =
|
| - transport_controller_->CreateTransportChannel(
|
| + cricket::DtlsTransportInternal* rtp_transport =
|
| + transport_controller_->CreateDtlsTransport(
|
| cricket::CN_AUDIO, cricket::ICE_CANDIDATE_COMPONENT_RTP);
|
| cricket::VoiceChannel* voice_channel = cm_->CreateVoiceChannel(
|
| &fake_mc_, rtp_transport, nullptr /*rtcp_transport*/,
|
|
|