Index: test/cctest/test-debug.cc |
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc |
index 484eb8e3fb1aabef97521f31bbb3dc113e3fd0ac..90453f78ce2946a0b2f03116243c918a2dfa0afb 100644 |
--- a/test/cctest/test-debug.cc |
+++ b/test/cctest/test-debug.cc |
@@ -4714,7 +4714,7 @@ class ThreadBarrier { |
ThreadBarrier::ThreadBarrier(int num_threads) |
: num_threads_(num_threads), num_blocked_(0) { |
- lock_ = OS::CreateMutex(); |
+ lock_ = new v8::internal::Mutex; |
sem_ = OS::CreateSemaphore(0); |
invalid_ = false; // A barrier may only be used once. Then it is invalid. |
} |