summaryrefslogtreecommitdiff
path: root/src/base_object-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/base_object-inl.h')
-rw-r--r--src/base_object-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base_object-inl.h b/src/base_object-inl.h
index 8c8fa1699c..0b8fbb8520 100644
--- a/src/base_object-inl.h
+++ b/src/base_object-inl.h
@@ -62,7 +62,7 @@ Persistent<v8::Object>& BaseObject::persistent() {
v8::Local<v8::Object> BaseObject::object() const {
- return PersistentToLocal(env_->isolate(), persistent_handle_);
+ return PersistentToLocal::Default(env_->isolate(), persistent_handle_);
}
v8::Local<v8::Object> BaseObject::object(v8::Isolate* isolate) const {