summaryrefslogtreecommitdiffstats
path: root/base/lazy_instance_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/lazy_instance_unittest.cc')
-rw-r--r--base/lazy_instance_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/lazy_instance_unittest.cc b/base/lazy_instance_unittest.cc
index d9e0fa9..28bf04e 100644
--- a/base/lazy_instance_unittest.cc
+++ b/base/lazy_instance_unittest.cc
@@ -26,7 +26,8 @@ class ConstructAndDestructLogger {
class SlowConstructor {
public:
SlowConstructor() : some_int_(0) {
- PlatformThread::Sleep(1000); // Sleep for 1 second to try to cause a race.
+ // Sleep for 1 second to try to cause a race.
+ base::PlatformThread::Sleep(1000);
++constructed;
some_int_ = 12;
}