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 4c443e0f2e99c11391713c0f789326aef2ae2c9f..7322a2cc6d95bb00d8af3a897bd8d0f2a236b1e7 100644 |
--- a/webrtc/audio/audio_receive_stream_unittest.cc |
+++ b/webrtc/audio/audio_receive_stream_unittest.cc |
@@ -143,7 +143,7 @@ struct ConfigHelper { |
void SetupMockForGetStats() { |
using testing::DoAll; |
- using testing::SetArgReferee; |
+ using testing::SetArgPointee; |
ASSERT_TRUE(channel_proxy_); |
EXPECT_CALL(*channel_proxy_, GetRTCPStatistics()) |
@@ -156,9 +156,8 @@ struct ConfigHelper { |
.WillOnce(Return(kNetworkStats)); |
EXPECT_CALL(*channel_proxy_, GetDecodingCallStatistics()) |
.WillOnce(Return(kAudioDecodeStats)); |
- |
- EXPECT_CALL(voice_engine_, GetRecCodec(kChannelId, _)) |
- .WillOnce(DoAll(SetArgReferee<1>(kCodecInst), Return(0))); |
+ EXPECT_CALL(*channel_proxy_, GetRecCodec(_)) |
+ .WillOnce(DoAll(SetArgPointee<0>(kCodecInst), Return(true))); |
} |
private: |