Index: test/cctest/test-thread-termination.cc |
diff --git a/test/cctest/test-thread-termination.cc b/test/cctest/test-thread-termination.cc |
index 06b077d4bcd8d4456e4cb279446a1e3f8af9dd57..a5ed7ab9bfe9231a689958ddde46b55af170375f 100644 |
--- a/test/cctest/test-thread-termination.cc |
+++ b/test/cctest/test-thread-termination.cc |
@@ -162,8 +162,8 @@ TEST(TerminateOnlyV8ThreadFromThreadItselfNoLoop) { |
class TerminatorThread : public v8::base::Thread { |
public: |
explicit TerminatorThread(i::Isolate* isolate) |
- : Thread("TerminatorThread"), |
- isolate_(reinterpret_cast<v8::Isolate*>(isolate)) { } |
+ : Thread(Options("TerminatorThread")), |
+ isolate_(reinterpret_cast<v8::Isolate*>(isolate)) {} |
void Run() { |
semaphore->Wait(); |
CHECK(!v8::V8::IsExecutionTerminating(isolate_)); |