Index: test/cctest/test-accessors.cc |
diff --git a/test/cctest/test-accessors.cc b/test/cctest/test-accessors.cc |
index ec8e3fdfa518594620d90c56f424ec709accd2ff..125e6c7036f5fbd87dd68f005b126a13349dce57 100644 |
--- a/test/cctest/test-accessors.cc |
+++ b/test/cctest/test-accessors.cc |
@@ -293,7 +293,7 @@ THREADED_TEST(HandleScopePop) { |
obj->SetAccessor(v8_str("many"), HandleAllocatingGetter<1024>); |
v8::Handle<v8::Object> inst = obj->NewInstance(); |
context->Global()->Set(v8::String::New("obj"), inst); |
- i::Isolate* isolate = i::Isolate::Current(); |
+ i::Isolate* isolate = CcTest::i_isolate(); |
int count_before = i::HandleScope::NumberOfHandles(isolate); |
{ |
v8::HandleScope scope(context->GetIsolate()); |