Index: src/profile-generator.cc |
diff --git a/src/profile-generator.cc b/src/profile-generator.cc |
index 5418979cc50eb3c9f1d958a545876e99fd346918..d15c400f737f7fe6ed3932c5bec62798ab4f9d0b 100644 |
--- a/src/profile-generator.cc |
+++ b/src/profile-generator.cc |
@@ -79,7 +79,7 @@ void TokenEnumerator::TokenRemovedCallback(v8::Isolate* isolate, |
v8::Persistent<v8::Value>* handle, |
void* parameter) { |
reinterpret_cast<TokenEnumerator*>(parameter)->TokenRemoved( |
- Utils::OpenHandle(**handle).location()); |
+ Utils::OpenPersistent(handle).location()); |
handle->Dispose(isolate); |
} |