Index: src/runtime/runtime-test.cc |
diff --git a/src/runtime/runtime-test.cc b/src/runtime/runtime-test.cc |
index 81ba261564f652ef98f1a62f6fdf197ff65e4bb0..ddf2e9d6b46a6c7b6b848ae9754f293ef27381f2 100644 |
--- a/src/runtime/runtime-test.cc |
+++ b/src/runtime/runtime-test.cc |
@@ -176,7 +176,7 @@ RUNTIME_FUNCTION(Runtime_GetOptimizationStatus) { |
sync_with_compiler_thread) { |
while (function->IsInOptimizationQueue()) { |
isolate->optimizing_compile_dispatcher()->InstallOptimizedFunctions(); |
- base::OS::Sleep(50); |
+ base::OS::Sleep(base::TimeDelta::FromMilliseconds(50)); |
} |
} |
if (FLAG_always_opt) { |