Index: test/cctest/test-accessors.cc |
diff --git a/test/cctest/test-accessors.cc b/test/cctest/test-accessors.cc |
index 9007f1482d345afa9a4f081d0d3c0ffde94f9d27..df4937ee28367a0c288b0f419a5143ab370f9b70 100644 |
--- a/test/cctest/test-accessors.cc |
+++ b/test/cctest/test-accessors.cc |
@@ -507,7 +507,7 @@ THREADED_TEST(StackIteration) { |
static void AllocateHandles(Local<String> name, |
const v8::PropertyCallbackInfo<v8::Value>& info) { |
for (int i = 0; i < i::kHandleBlockSize + 1; i++) { |
- v8::Local<v8::Value>::New(name); |
+ v8::Local<v8::Value>::New(info.GetIsolate(), name); |
} |
info.GetReturnValue().Set(v8::Integer::New(100)); |
} |