| Index: webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc
|
| diff --git a/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc b/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc
|
| index f6caca34f054c50204c956f497e3f554cf51f578..c74342bb848f34a7221fb3b5cd3d4cbcf7cb294e 100644
|
| --- a/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc
|
| +++ b/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc
|
| @@ -287,8 +287,9 @@ TEST_F(NetEqImplTest, InsertPacket) {
|
| .Times(1);
|
| EXPECT_CALL(*mock_packet_buffer_, InsertPacketList(_, _, _, _))
|
| .Times(2)
|
| - .WillRepeatedly(DoAll(SetArgPointee<2>(kPayloadType),
|
| - WithArg<0>(Invoke(DeletePacketsAndReturnOk))));
|
| + .WillRepeatedly(
|
| + DoAll(SetArgPointee<2>(rtc::Optional<uint8_t>(kPayloadType)),
|
| + WithArg<0>(Invoke(DeletePacketsAndReturnOk))));
|
| // SetArgPointee<2>(kPayloadType) means that the third argument (zero-based
|
| // index) is a pointer, and the variable pointed to is set to kPayloadType.
|
| // Also invoke the function DeletePacketsAndReturnOk to properly delete all
|
|
|