| Index: webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red_unittest.cc
|
| diff --git a/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red_unittest.cc b/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red_unittest.cc
|
| index fff8ee303c4664cfbe418dc9af70defc585455ca..075564d69ac777f5a85e417aaa5027609ae6e122 100644
|
| --- a/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red_unittest.cc
|
| +++ b/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red_unittest.cc
|
| @@ -104,8 +104,9 @@ TEST_F(AudioEncoderCopyRedTest, CheckTargetAudioBitratePropagation) {
|
| }
|
|
|
| TEST_F(AudioEncoderCopyRedTest, CheckPacketLossFractionPropagation) {
|
| - EXPECT_CALL(*mock_encoder_, OnReceivedUplinkPacketLossFraction(0.5));
|
| - red_->OnReceivedUplinkPacketLossFraction(0.5);
|
| + EXPECT_CALL(*mock_encoder_,
|
| + OnReceivedUplinkPacketLossFraction(rtc::Optional<float>(0.5f)));
|
| + red_->OnReceivedUplinkPacketLossFraction(rtc::Optional<float>(0.5f));
|
| }
|
|
|
| // Checks that the an Encode() call is immediately propagated to the speech
|
|
|