Index: test/cctest/test-serialize.cc |
diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc |
index 8973d5417884208d986be2dc94cb923ca73ef2ca..e8fe63b16400a6906adf425160694f3df7f7c743 100644 |
--- a/test/cctest/test-serialize.cc |
+++ b/test/cctest/test-serialize.cc |
@@ -547,7 +547,7 @@ TEST(ContextSerialization) { |
v8::Local<v8::Context>::New(v8_isolate, env)->Exit(); |
} |
- Object* raw_context = *(v8::Utils::OpenHandle(*env)); |
+ i::Object* raw_context = *v8::Utils::OpenPersistent(env); |
env.Dispose(v8_isolate); |