Index: webrtc/modules/rtp_rtcp/source/receive_statistics_impl.cc |
diff --git a/webrtc/modules/rtp_rtcp/source/receive_statistics_impl.cc b/webrtc/modules/rtp_rtcp/source/receive_statistics_impl.cc |
index b3e88fcb4865aa65981a7ecd2811293950292ef8..6d64304149d662f746c78563e389a1e03deea921 100644 |
--- a/webrtc/modules/rtp_rtcp/source/receive_statistics_impl.cc |
+++ b/webrtc/modules/rtp_rtcp/source/receive_statistics_impl.cc |
@@ -17,6 +17,7 @@ |
#include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_logging.h" |
#include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_config.h" |
#include "webrtc/modules/rtp_rtcp/source/time_util.h" |
+#include "webrtc/system_wrappers/include/clock.h" |
namespace webrtc { |
@@ -78,7 +79,7 @@ void StreamStatisticianImpl::UpdateCounters(const RTPHeader& header, |
// are received, 4 will be ignored. |
if (in_order) { |
// Current time in samples. |
- NtpTime receive_time(*clock_); |
+ NtpTime receive_time = clock_->CurrentNtpTime(); |
// Wrong if we use RetransmitOfOldPacket. |
if (receive_counters_.transmitted.packets > 1 && |