Index: src/futex-emulation.cc |
diff --git a/src/futex-emulation.cc b/src/futex-emulation.cc |
index 39f43dd7dd8c998e8ec571b5942194827a240f75..5a0ce07f1a545389e8d5431f09ff0adf39acc178 100644 |
--- a/src/futex-emulation.cc |
+++ b/src/futex-emulation.cc |
@@ -101,15 +101,15 @@ Object* FutexEmulation::Wait(Isolate* isolate, |
} |
} |
- base::Time start_time = base::Time::NowFromSystemTime(); |
- base::Time timeout_time = start_time + rel_timeout; |
+ base::TimeTicks start_time = base::TimeTicks::Now(); |
+ base::TimeTicks timeout_time = start_time + rel_timeout; |
wait_list_.Pointer()->AddNode(node); |
Object* result; |
while (true) { |
- base::Time current_time = base::Time::NowFromSystemTime(); |
+ base::TimeTicks current_time = base::TimeTicks::Now(); |
if (use_timeout && current_time > timeout_time) { |
result = Smi::FromInt(Result::kTimedOut); |
break; |