Index: webrtc/modules/rtp_rtcp/source/remote_ntp_time_estimator_unittest.cc |
diff --git a/webrtc/modules/rtp_rtcp/source/remote_ntp_time_estimator_unittest.cc b/webrtc/modules/rtp_rtcp/source/remote_ntp_time_estimator_unittest.cc |
index f976183d1b918daab4601a872c8a9aeda35eb1bc..1f6ccf13a9bbc2bf927c9fd4b0881f94b705d732 100644 |
--- a/webrtc/modules/rtp_rtcp/source/remote_ntp_time_estimator_unittest.cc |
+++ b/webrtc/modules/rtp_rtcp/source/remote_ntp_time_estimator_unittest.cc |
@@ -46,12 +46,10 @@ class RemoteNtpTimeEstimatorTest : public ::testing::Test { |
void SendRtcpSr() { |
uint32_t rtcp_timestamp = GetRemoteTimestamp(); |
- uint32_t ntp_seconds; |
- uint32_t ntp_fractions; |
- remote_clock_.CurrentNtp(ntp_seconds, ntp_fractions); |
+ NtpTime ntp = remote_clock_.CurrentNtpTime(); |
AdvanceTimeMilliseconds(kTestRtt / 2); |
- ReceiveRtcpSr(kTestRtt, rtcp_timestamp, ntp_seconds, ntp_fractions); |
+ ReceiveRtcpSr(kTestRtt, rtcp_timestamp, ntp.seconds(), ntp.fractions()); |
} |
void UpdateRtcpTimestamp(int64_t rtt, uint32_t ntp_secs, uint32_t ntp_frac, |