Index: webrtc/system_wrappers/source/condition_variable_unittest.cc |
diff --git a/webrtc/system_wrappers/source/condition_variable_unittest.cc b/webrtc/system_wrappers/source/condition_variable_unittest.cc |
index 4b1b6cc608998d8721323e1e19bb929e3b9c3c5c..85c56253e7b351d889ba215a4cdb151ff9734dbc 100644 |
--- a/webrtc/system_wrappers/source/condition_variable_unittest.cc |
+++ b/webrtc/system_wrappers/source/condition_variable_unittest.cc |
@@ -18,8 +18,8 @@ |
#include "testing/gtest/include/gtest/gtest.h" |
#include "webrtc/base/platform_thread.h" |
#include "webrtc/base/scoped_ptr.h" |
+#include "webrtc/base/timeutils.h" |
#include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
-#include "webrtc/system_wrappers/include/tick_util.h" |
#include "webrtc/system_wrappers/include/trace.h" |
namespace webrtc { |
@@ -192,9 +192,9 @@ TEST(CondVarWaitTest, WaitingWaits) { |
InitializeCriticalSection(&crit_sect); |
ConditionVariableEventWin cond_var; |
EnterCriticalSection(&crit_sect); |
- int64_t start_ms = TickTime::MillisecondTimestamp(); |
+ int64_t start_ms = rtc::Time64(); |
EXPECT_FALSE(cond_var.SleepCS(&crit_sect, kVeryShortWaitMs)); |
- int64_t end_ms = TickTime::MillisecondTimestamp(); |
+ int64_t end_ms = rtc::Time64(); |
EXPECT_LE(start_ms + kVeryShortWaitMs, end_ms) |
<< "actual elapsed:" << end_ms - start_ms; |
LeaveCriticalSection(&crit_sect); |