Delete all use of tick_util.h.
Depends on Chrome cl https://codereview.chromium.org/1888003002/, which was landed some time ago.
BUG=webrtc:5740
R=stefan@webrtc.org, tommi@webrtc.org
Review URL: https://codereview.webrtc.org/1888593004 .
Cr-Commit-Position: refs/heads/master@{#12674}
diff --git a/webrtc/system_wrappers/source/clock.cc b/webrtc/system_wrappers/source/clock.cc
index 926b95a..05dabd8 100644
--- a/webrtc/system_wrappers/source/clock.cc
+++ b/webrtc/system_wrappers/source/clock.cc
@@ -20,8 +20,8 @@
#endif
#include "webrtc/base/criticalsection.h"
+#include "webrtc/base/timeutils.h"
#include "webrtc/system_wrappers/include/rw_lock_wrapper.h"
-#include "webrtc/system_wrappers/include/tick_util.h"
namespace webrtc {
@@ -37,13 +37,13 @@
// Return a timestamp in milliseconds relative to some arbitrary source; the
// source is fixed for this clock.
int64_t TimeInMilliseconds() const override {
- return TickTime::MillisecondTimestamp();
+ return rtc::TimeMillis();
}
// Return a timestamp in microseconds relative to some arbitrary source; the
// source is fixed for this clock.
int64_t TimeInMicroseconds() const override {
- return TickTime::MicrosecondTimestamp();
+ return rtc::TimeMicros();
}
// Retrieve an NTP absolute timestamp in seconds and fractions of a second.