diff --git a/src/node.cc b/src/node.cc index 3cd26694835..1c9d6093acf 100644 --- a/src/node.cc +++ b/src/node.cc @@ -903,7 +903,7 @@ Handle FromConstructorTemplate(Persistent t, Handle SetupDomainUse(const Arguments& args) { HandleScope scope(node_isolate); if (using_domains) - return Undefined(); + return Undefined(node_isolate); using_domains = true; Local tdc_v = process->Get(String::New("_tickDomainCallback")); Local ndt_v = process->Get(String::New("_nextDomainTick")); @@ -920,7 +920,7 @@ Handle SetupDomainUse(const Arguments& args) { process->Set(String::New("_tickCallback"), tdc); process->Set(String::New("nextTick"), ndt); process_tickCallback = Persistent::New(node_isolate, tdc); - return Undefined(); + return Undefined(node_isolate); } @@ -2449,7 +2449,7 @@ Handle SetupProcessObject(int argc, char *argv[]) { // --throw-deprecation if (throw_deprecation) { - process->Set(String::NewSymbol("throwDeprecation"), True()); + process->Set(String::NewSymbol("throwDeprecation"), True(node_isolate)); } // --trace-deprecation diff --git a/src/node_crypto.cc b/src/node_crypto.cc index 10f379c1936..2db5bd96d8b 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -649,7 +649,7 @@ Handle SecureContext::SetSessionTimeout(const Arguments& args) { int32_t sessionTimeout = args[0]->Int32Value(); SSL_CTX_set_timeout(sc->ctx_, sessionTimeout); - return True(); + return True(node_isolate); } Handle SecureContext::Close(const Arguments& args) { @@ -2835,7 +2835,7 @@ exit: return ThrowCryptoError(err); } - return scope.Close(r ? True() : False(node_isolate)); + return scope.Close(r ? True(node_isolate) : False(node_isolate)); } diff --git a/src/tcp_wrap.cc b/src/tcp_wrap.cc index 5cd70b29790..b1979a2d215 100644 --- a/src/tcp_wrap.cc +++ b/src/tcp_wrap.cc @@ -263,7 +263,7 @@ Handle TCPWrap::Open(const Arguments& args) { UNWRAP(TCPWrap) int fd = args[0]->IntegerValue(); uv_tcp_open(&wrap->handle_, fd); - return Null(); + return Null(node_isolate); }