| Index: webrtc/modules/utility/source/process_thread_impl.cc
|
| diff --git a/webrtc/modules/utility/source/process_thread_impl.cc b/webrtc/modules/utility/source/process_thread_impl.cc
|
| index 8cdf01634cb483d8925cc6f86c22f50dac77c4ad..787e4b2970ff89282c69d48fd7126e9a98f8e7f8 100644
|
| --- a/webrtc/modules/utility/source/process_thread_impl.cc
|
| +++ b/webrtc/modules/utility/source/process_thread_impl.cc
|
| @@ -11,9 +11,9 @@
|
| #include "webrtc/modules/utility/source/process_thread_impl.h"
|
|
|
| #include "webrtc/base/checks.h"
|
| +#include "webrtc/base/timeutils.h"
|
| #include "webrtc/modules/include/module.h"
|
| #include "webrtc/system_wrappers/include/logging.h"
|
| -#include "webrtc/system_wrappers/include/tick_util.h"
|
|
|
| namespace webrtc {
|
| namespace {
|
| @@ -188,7 +188,7 @@ bool ProcessThreadImpl::Run(void* obj) {
|
| }
|
|
|
| bool ProcessThreadImpl::Process() {
|
| - int64_t now = TickTime::MillisecondTimestamp();
|
| + int64_t now = rtc::Time64();
|
| int64_t next_checkpoint = now + (1000 * 60);
|
|
|
| {
|
| @@ -209,7 +209,7 @@ bool ProcessThreadImpl::Process() {
|
| // Use a new 'now' reference to calculate when the next callback
|
| // should occur. We'll continue to use 'now' above for the baseline
|
| // of calculating how long we should wait, to reduce variance.
|
| - int64_t new_now = TickTime::MillisecondTimestamp();
|
| + int64_t new_now = rtc::Time64();
|
| m.next_callback = GetNextCallbackTime(m.module, new_now);
|
| }
|
|
|
| @@ -227,7 +227,7 @@ bool ProcessThreadImpl::Process() {
|
| }
|
| }
|
|
|
| - int64_t time_to_wait = next_checkpoint - TickTime::MillisecondTimestamp();
|
| + int64_t time_to_wait = next_checkpoint - rtc::Time64();
|
| if (time_to_wait > 0)
|
| wake_up_->Wait(static_cast<unsigned long>(time_to_wait));
|
|
|
|
|