Index: test/cctest/test-declarative-accessors.cc |
diff --git a/test/cctest/test-declarative-accessors.cc b/test/cctest/test-declarative-accessors.cc |
index a3d152dc3cbafd44e7a724668bd2f3e39fe085a0..c624ccb6d6591ce158029bc78dffbf544b1f3b42 100644 |
--- a/test/cctest/test-declarative-accessors.cc |
+++ b/test/cctest/test-declarative-accessors.cc |
@@ -288,7 +288,8 @@ TEST(HandleDereferenceRead) { |
->NewHandleDereference(helper.isolate_); |
HandleArray* array = *helper.handle_array_; |
v8::Handle<v8::String> expected = v8_str("whatever"); |
- array->handles_[index] = v8::Persistent<v8::Value>::New(expected); |
+ array->handles_[index] = v8::Persistent<v8::Value>::New(helper.isolate_, |
+ expected); |
VerifyRead(descriptor, internal_field, array, expected); |
} |