Index: test/cctest/test-circular-queue.cc |
diff --git a/test/cctest/test-circular-queue.cc b/test/cctest/test-circular-queue.cc |
index 83b85c316161abb476b27b4dc10ded2d4950c3b4..736a9b7c88553ebe18b5911d366f8d62026af580 100644 |
--- a/test/cctest/test-circular-queue.cc |
+++ b/test/cctest/test-circular-queue.cc |
@@ -105,15 +105,13 @@ typedef SamplingCircularQueue<Record, 12> TestSampleQueue; |
class ProducerThread: public v8::base::Thread { |
public: |
- ProducerThread(TestSampleQueue* scq, |
- int records_per_chunk, |
- Record value, |
+ ProducerThread(TestSampleQueue* scq, int records_per_chunk, Record value, |
v8::base::Semaphore* finished) |
- : Thread("producer"), |
+ : Thread(Options("producer")), |
scq_(scq), |
records_per_chunk_(records_per_chunk), |
value_(value), |
- finished_(finished) { } |
+ finished_(finished) {} |
virtual void Run() { |
for (Record i = value_; i < value_ + records_per_chunk_; ++i) { |