diff options
author | Anna Henningsen <anna@addaleax.net> | 2018-04-17 18:47:09 +0300 |
---|---|---|
committer | Anatoli Papirovski <apapirovski@mac.com> | 2018-04-22 12:23:29 +0300 |
commit | 1f3fbd43b7e73e16cb383bda36663517bf20540b (patch) | |
tree | 0fee58a54b78d56e04509ed4e135956997983bd5 /src/node_object_wrap.h | |
parent | aaea70693e0b186672c0912a2bea6a68f691d9f8 (diff) |
src: remove `MarkIndependent()` calls
The method has been deprecated in upstream V8, with messaging
indicating that it is the default for handles to be independent
now anyway.
PR-URL: https://github.com/nodejs/node/pull/20108
Refs: https://github.com/v8/v8/commit/71ad48fb8f214e80518ba0419796e4c571351255
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'src/node_object_wrap.h')
-rw-r--r-- | src/node_object_wrap.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/node_object_wrap.h b/src/node_object_wrap.h index 37c759fb894..b8ed2f99135 100644 --- a/src/node_object_wrap.h +++ b/src/node_object_wrap.h @@ -83,7 +83,6 @@ class ObjectWrap { inline void MakeWeak(void) { persistent().SetWeak(this, WeakCallback, v8::WeakCallbackType::kParameter); - persistent().MarkIndependent(); } /* Ref() marks the object as being attached to an event loop. |