Index: media/cast/audio_receiver/audio_receiver_unittest.cc |
diff --git a/media/cast/audio_receiver/audio_receiver_unittest.cc b/media/cast/audio_receiver/audio_receiver_unittest.cc |
index bb26cb9dac403a1c1b38b4c892d6c1a22dcb9989..cbd90c1215c3ce16a3d57469e8e99d54af1a9c7f 100644 |
--- a/media/cast/audio_receiver/audio_receiver_unittest.cc |
+++ b/media/cast/audio_receiver/audio_receiver_unittest.cc |
@@ -132,7 +132,8 @@ TEST_F(AudioReceiverTest, GetOnePacketEncodedframe) { |
TEST_F(AudioReceiverTest, MultiplePendingGetCalls) { |
Configure(true); |
- EXPECT_CALL(mock_transport_, SendRtcpPacket(testing::_)).Times(2); |
+ EXPECT_CALL(mock_transport_, SendRtcpPacket(testing::_)).WillRepeatedly( |
+ testing::Return(true)); |
AudioFrameEncodedCallback frame_encoded_callback = |
base::Bind(&TestAudioEncoderCallback::DeliverEncodedAudioFrame, |
@@ -154,7 +155,7 @@ TEST_F(AudioReceiverTest, MultiplePendingGetCalls) { |
uint32 ntp_high; |
uint32 ntp_low; |
- ConvertTimeToNtp(testing_clock_.NowTicks(), &ntp_high, &ntp_low); |
+ ConvertTimeTicksToNtp(testing_clock_.NowTicks(), &ntp_high, &ntp_low); |
rtcp_packet.AddSrWithNtp(audio_config_.feedback_ssrc, ntp_high, ntp_low, |
rtp_header_.webrtc.header.timestamp); |