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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/base_object-inl.h b/src/base_object-inl.h
index 51ef465996..5ff211f473 100644
--- a/src/base_object-inl.h
+++ b/src/base_object-inl.h
@@ -70,7 +70,6 @@ inline void BaseObject::MakeWeak(Type* ptr) {
v8::Local<v8::Object> handle = object();
CHECK_GT(handle->InternalFieldCount(), 0);
Wrap(handle, ptr);
- persistent_handle_.MarkIndependent();
persistent_handle_.SetWeak<Type>(ptr, WeakCallback<Type>,
v8::WeakCallbackType::kParameter);
}