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 17540f4822..ac9c052813 100644
--- a/src/base-object-inl.h
+++ b/src/base-object-inl.h
@@ -70,7 +70,7 @@ inline void BaseObject::MakeWeak(Type* ptr) {
v8::HandleScope scope(env_->isolate());
v8::Local<v8::Object> handle = object();
CHECK_GT(handle->InternalFieldCount(), 0);
- Wrap<Type>(handle, ptr);
+ Wrap(handle, ptr);
handle_.MarkIndependent();
handle_.SetWeak<Type>(ptr, WeakCallback<Type>);
}