Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-01-07 02:33:09 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2013-01-07 20:39:57 +0400
commit6573fc35022b783d1f93b79dbf127cf2b6c8fc23 (patch)
treeec2d33decc89d7294462cc343fb4fb6b87feec1b /src/pipe_wrap.cc
parent412b3cee0531ffdbfb9c2b38583513e3d0794bb9 (diff)
src: pass node_isolate to Integer::New
Diffstat (limited to 'src/pipe_wrap.cc')
-rw-r--r--src/pipe_wrap.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pipe_wrap.cc b/src/pipe_wrap.cc
index eb00e18aa1d..abe9fefea56 100644
--- a/src/pipe_wrap.cc
+++ b/src/pipe_wrap.cc
@@ -146,7 +146,7 @@ Handle<Value> PipeWrap::Bind(const Arguments& args) {
// Error starting the pipe.
if (r) SetErrno(uv_last_error(uv_default_loop()));
- return scope.Close(Integer::New(r));
+ return scope.Close(Integer::New(r, node_isolate));
}
@@ -177,7 +177,7 @@ Handle<Value> PipeWrap::Listen(const Arguments& args) {
// Error starting the pipe.
if (r) SetErrno(uv_last_error(uv_default_loop()));
- return scope.Close(Integer::New(r));
+ return scope.Close(Integer::New(r, node_isolate));
}
@@ -238,7 +238,7 @@ void PipeWrap::AfterConnect(uv_connect_t* req, int status) {
}
Local<Value> argv[5] = {
- Integer::New(status),
+ Integer::New(status, node_isolate),
Local<Value>::New(wrap->object_),
Local<Value>::New(req_wrap->object_),
Local<Value>::New(Boolean::New(readable)),