Index: webrtc/pc/channel_unittest.cc |
diff --git a/webrtc/pc/channel_unittest.cc b/webrtc/pc/channel_unittest.cc |
index 6c6a3c10e43eeb63377357e989b35d5f3074eedd..57a1d7504b1484f9ecec887dfe56d7582290b770 100644 |
--- a/webrtc/pc/channel_unittest.cc |
+++ b/webrtc/pc/channel_unittest.cc |
@@ -2796,18 +2796,18 @@ TEST_F(VideoChannelSingleThreadTest, TestMuteStream) { |
// Test that we can Mute the default channel even though the sending SSRC |
// is unknown. |
EXPECT_FALSE(media_channel1_->IsStreamMuted(0)); |
- EXPECT_TRUE(channel1_->SetVideoSend(0, false, nullptr)); |
+ EXPECT_TRUE(channel1_->SetVideoSend(0, false, nullptr, nullptr)); |
EXPECT_TRUE(media_channel1_->IsStreamMuted(0)); |
- EXPECT_TRUE(channel1_->SetVideoSend(0, true, nullptr)); |
+ EXPECT_TRUE(channel1_->SetVideoSend(0, true, nullptr, nullptr)); |
EXPECT_FALSE(media_channel1_->IsStreamMuted(0)); |
// Test that we can not mute an unknown SSRC. |
- EXPECT_FALSE(channel1_->SetVideoSend(kSsrc1, false, nullptr)); |
+ EXPECT_FALSE(channel1_->SetVideoSend(kSsrc1, false, nullptr, nullptr)); |
SendInitiate(); |
// After the local session description has been set, we can mute a stream |
// with its SSRC. |
- EXPECT_TRUE(channel1_->SetVideoSend(kSsrc1, false, nullptr)); |
+ EXPECT_TRUE(channel1_->SetVideoSend(kSsrc1, false, nullptr, nullptr)); |
EXPECT_TRUE(media_channel1_->IsStreamMuted(kSsrc1)); |
- EXPECT_TRUE(channel1_->SetVideoSend(kSsrc1, true, nullptr)); |
+ EXPECT_TRUE(channel1_->SetVideoSend(kSsrc1, true, nullptr, nullptr)); |
EXPECT_FALSE(media_channel1_->IsStreamMuted(kSsrc1)); |
} |
@@ -3040,18 +3040,18 @@ TEST_F(VideoChannelDoubleThreadTest, TestMuteStream) { |
// Test that we can Mute the default channel even though the sending SSRC |
// is unknown. |
EXPECT_FALSE(media_channel1_->IsStreamMuted(0)); |
- EXPECT_TRUE(channel1_->SetVideoSend(0, false, nullptr)); |
+ EXPECT_TRUE(channel1_->SetVideoSend(0, false, nullptr, nullptr)); |
EXPECT_TRUE(media_channel1_->IsStreamMuted(0)); |
- EXPECT_TRUE(channel1_->SetVideoSend(0, true, nullptr)); |
+ EXPECT_TRUE(channel1_->SetVideoSend(0, true, nullptr, nullptr)); |
EXPECT_FALSE(media_channel1_->IsStreamMuted(0)); |
// Test that we can not mute an unknown SSRC. |
- EXPECT_FALSE(channel1_->SetVideoSend(kSsrc1, false, nullptr)); |
+ EXPECT_FALSE(channel1_->SetVideoSend(kSsrc1, false, nullptr, nullptr)); |
SendInitiate(); |
// After the local session description has been set, we can mute a stream |
// with its SSRC. |
- EXPECT_TRUE(channel1_->SetVideoSend(kSsrc1, false, nullptr)); |
+ EXPECT_TRUE(channel1_->SetVideoSend(kSsrc1, false, nullptr, nullptr)); |
EXPECT_TRUE(media_channel1_->IsStreamMuted(kSsrc1)); |
- EXPECT_TRUE(channel1_->SetVideoSend(kSsrc1, true, nullptr)); |
+ EXPECT_TRUE(channel1_->SetVideoSend(kSsrc1, true, nullptr, nullptr)); |
EXPECT_FALSE(media_channel1_->IsStreamMuted(kSsrc1)); |
} |