Index: base/lazy_instance_unittest.cc |
diff --git a/base/lazy_instance_unittest.cc b/base/lazy_instance_unittest.cc |
index b1777451281a8b2155b8181f58388e3b60d001bd..9ccbbd556aa0c509b94899ad2be8ce4e099d6605 100644 |
--- a/base/lazy_instance_unittest.cc |
+++ b/base/lazy_instance_unittest.cc |
@@ -27,7 +27,7 @@ class SlowConstructor { |
public: |
SlowConstructor() : some_int_(0) { |
// Sleep for 1 second to try to cause a race. |
- base::PlatformThread::Sleep(1000); |
+ base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(1)); |
++constructed; |
some_int_ = 12; |
} |