diff options
Diffstat (limited to 'src/handle_wrap.cc')
-rw-r--r-- | src/handle_wrap.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/handle_wrap.cc b/src/handle_wrap.cc index f0e5896372..70e7cbb12a 100644 --- a/src/handle_wrap.cc +++ b/src/handle_wrap.cc @@ -6,7 +6,6 @@ #include "util.h" #include "util-inl.h" #include "node.h" -#include "queue.h" namespace node { @@ -70,13 +69,12 @@ HandleWrap::HandleWrap(Environment* env, handle__->data = this; HandleScope scope(env->isolate()); Wrap(object, this); - QUEUE_INSERT_TAIL(env->handle_wrap_queue(), &handle_wrap_queue_); + env->handle_wrap_queue()->PushBack(this); } HandleWrap::~HandleWrap() { CHECK(persistent().IsEmpty()); - QUEUE_REMOVE(&handle_wrap_queue_); } |