Index: test/cctest/test-thread-termination.cc |
diff --git a/test/cctest/test-thread-termination.cc b/test/cctest/test-thread-termination.cc |
index 9ffcf67e62dc939b9632a700eb2993bee7e2ca3b..b3ac598c218c1475759c0bf366b19cb79c6494ac 100644 |
--- a/test/cctest/test-thread-termination.cc |
+++ b/test/cctest/test-thread-termination.cc |
@@ -172,7 +172,7 @@ class TerminatorThread : public v8::internal::Thread { |
// from the side by another thread. |
TEST(TerminateOnlyV8ThreadFromOtherThread) { |
semaphore = new v8::internal::Semaphore(0); |
- TerminatorThread thread(i::Isolate::Current()); |
+ TerminatorThread thread(CcTest::i_isolate()); |
thread.Start(); |
v8::HandleScope scope(CcTest::isolate()); |