Index: test/cctest/test-log.cc |
diff --git a/test/cctest/test-log.cc b/test/cctest/test-log.cc |
index cbc1c00bcf1c38f560f2c22ab62707a65a7854da..90245b788252fb450dffd267f0ca8a7a63c90f92 100644 |
--- a/test/cctest/test-log.cc |
+++ b/test/cctest/test-log.cc |
@@ -190,7 +190,7 @@ class LoopingJsThread : public LoopingThread { |
"var j; for (var i=0; i<10000; ++i) { j = Math.sin(i); }"); |
} |
context.Dispose(); |
- i::OS::Sleep(1); |
+ i::OS::Sleep(v8::base::TimeDelta::FromMilliseconds(1)); |
} |
} |
}; |
@@ -210,7 +210,7 @@ class LoopingNonJsThread : public LoopingThread { |
SignalRunning(); |
while (IsRunning()) { |
i = std::sin(i); |
- i::OS::Sleep(1); |
+ i::OS::Sleep(v8::base::TimeDelta::FromMilliseconds(1)); |
} |
} |
}; |