Index: webrtc/stats/rtcstatscollector.cc |
diff --git a/webrtc/stats/rtcstatscollector.cc b/webrtc/stats/rtcstatscollector.cc |
index 1cdafd6c914eea1f172e0b3646de600dca3e884d..3ff41558b305516cda7bf8e48c0cd36119881f94 100644 |
--- a/webrtc/stats/rtcstatscollector.cc |
+++ b/webrtc/stats/rtcstatscollector.cc |
@@ -16,7 +16,6 @@ |
#include "webrtc/api/peerconnection.h" |
#include "webrtc/base/checks.h" |
-#include "webrtc/base/timing.h" |
namespace webrtc { |
@@ -63,8 +62,7 @@ void RTCStatsCollector::GetStatsReport( |
// "Now" using a system clock, relative to the UNIX epoch (Jan 1, 1970, |
// UTC), in microseconds. The system clock could be modified and is not |
// necessarily monotonically increasing. |
- int64_t timestamp_us = static_cast<int64_t>( |
- rtc::Timing::WallTimeNow() * rtc::kNumMicrosecsPerSec); |
+ int64_t timestamp_us = rtc::TimeUTCMicros(); |
num_pending_partial_reports_ = 3; |
partial_report_timestamp_us_ = cache_now_us; |