Index: src/handles.cc |
diff --git a/src/handles.cc b/src/handles.cc |
index 658bb2a2a24937d2b833e1411b9b7f413cf166fb..152f8c2531b9387d042839bf0269e37847085cb8 100644 |
--- a/src/handles.cc |
+++ b/src/handles.cc |
@@ -347,7 +347,7 @@ Handle<Object> SetAccessor(Handle<JSObject> obj, Handle<AccessorInfo> info) { |
static void ClearWrapperCache(v8::Isolate* v8_isolate, |
Persistent<v8::Value>* handle, |
void*) { |
- Handle<Object> cache = Utils::OpenHandle(**handle); |
+ Handle<Object> cache = Utils::OpenPersistent(handle); |
JSValue* wrapper = JSValue::cast(*cache); |
Foreign* foreign = Script::cast(wrapper->value())->wrapper(); |
ASSERT(foreign->foreign_address() == |