Index: test/cctest/test-declarative-accessors.cc |
diff --git a/test/cctest/test-declarative-accessors.cc b/test/cctest/test-declarative-accessors.cc |
index b09a29d1e8a3c946f181b0fe52a111c6f2190c55..a14c7fae201f84538b182b8cf69197700d827cf7 100644 |
--- a/test/cctest/test-declarative-accessors.cc |
+++ b/test/cctest/test-declarative-accessors.cc |
@@ -27,9 +27,6 @@ |
#include <stdlib.h> |
-// TODO(dcarney): remove |
-#define V8_ALLOW_ACCESS_TO_PERSISTENT_IMPLICIT |
- |
#include "v8.h" |
#include "cctest.h" |
@@ -298,7 +295,6 @@ 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(helper.isolate_, |
- expected); |
+ array->handles_[index].Reset(helper.isolate_, expected); |
VerifyRead(descriptor, internal_field, array, expected); |
} |