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 71893e50174853d17e00876582c81f7a9d53df7d..1c93543e2d83144089dc03e73fa3bdd9a1c5c0b0 100644 |
--- a/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc |
+++ b/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc |
@@ -313,9 +313,8 @@ TEST_F(NetEqImplTest, InsertPacket) { |
rtc::scoped_refptr<MockAudioDecoderFactory> mock_decoder_factory( |
new rtc::RefCountedObject<MockAudioDecoderFactory>); |
EXPECT_CALL(*mock_decoder_factory, MakeAudioDecoderMock(_, _)) |
- .WillOnce(Invoke([kPayloadLength, kFirstSequenceNumber, kFirstTimestamp, |
- kFirstReceiveTime](const SdpAudioFormat& format, |
- std::unique_ptr<AudioDecoder>* dec) { |
+ .WillOnce(Invoke([&](const SdpAudioFormat& format, |
+ std::unique_ptr<AudioDecoder>* dec) { |
EXPECT_EQ("pcmu", format.name); |
std::unique_ptr<MockAudioDecoder> mock_decoder(new MockAudioDecoder); |