Chromium Code Reviews| Index: webrtc/system_wrappers/source/clock.cc |
| diff --git a/webrtc/system_wrappers/source/clock.cc b/webrtc/system_wrappers/source/clock.cc |
| index 926b95a3dfd67a0bd6b269c72cdbfb7ef4b407ec..71486af5256c68bc1643213156457ea02ab44b7b 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 @@ class RealTimeClock : public Clock { |
| // 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::Time64(); |
|
The Sun (google.com)
2016/04/19 17:46:41
drive-by: Is the plan to change Time64()/Time32()
|
| } |
| // 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. |