Index: webrtc/audio/audio_receive_stream_unittest.cc |
diff --git a/webrtc/audio/audio_receive_stream_unittest.cc b/webrtc/audio/audio_receive_stream_unittest.cc |
index b241bed6b51e259c8e095e449bb5d150485a0433..fd88fc83df34f6084378f4b93975b3eb975f28d4 100644 |
--- a/webrtc/audio/audio_receive_stream_unittest.cc |
+++ b/webrtc/audio/audio_receive_stream_unittest.cc |
@@ -94,13 +94,12 @@ struct ConfigHelper { |
EXPECT_CALL(*channel_proxy_, EnableReceiveTransportSequenceNumber( |
kTransportSequenceNumberId)) |
.Times(1); |
- EXPECT_CALL(*channel_proxy_, SetCongestionControlObjects( |
- nullptr, nullptr, &packet_router_)) |
+ EXPECT_CALL(*channel_proxy_, |
+ RegisterReceiverCongestionControlObjects(&packet_router_)) |
.Times(1); |
EXPECT_CALL(congestion_controller_, packet_router()) |
.WillOnce(Return(&packet_router_)); |
- EXPECT_CALL(*channel_proxy_, |
- SetCongestionControlObjects(nullptr, nullptr, nullptr)) |
+ EXPECT_CALL(*channel_proxy_, ResetCongestionControlObjects()) |
.Times(1); |
return channel_proxy_; |
})); |