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 68c7ab676d6a7fadade0cc5c3ff115b7a57d55e7..4e3606ca08f6d24d973bcaaa16b0cf0c7a3473f7 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::TimeMillis(); |
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::TimeMillis(); |
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::TimeMillis(); |
if (time_to_wait > 0) |
wake_up_->Wait(static_cast<unsigned long>(time_to_wait)); |