summaryrefslogtreecommitdiff
path: root/src/uv.cc
diff options
context:
space:
mode:
authorFedor Indutny <fedor.indutny@gmail.com>2014-03-13 20:38:14 +0400
committerFedor Indutny <fedor.indutny@gmail.com>2014-03-13 20:56:55 +0400
commitce04c726a31cd13be131915b1c8b8bc7a00a4d24 (patch)
treeb309f6f42362231f54825586b9d79bd6163bb985 /src/uv.cc
parent1c7bf245dc2d520c005e01bcb56ecb3275971395 (diff)
downloadandroid-node-v8-ce04c726a31cd13be131915b1c8b8bc7a00a4d24.tar.gz
android-node-v8-ce04c726a31cd13be131915b1c8b8bc7a00a4d24.tar.bz2
android-node-v8-ce04c726a31cd13be131915b1c8b8bc7a00a4d24.zip
src: update to v8 3.24 APIs
Diffstat (limited to 'src/uv.cc')
-rw-r--r--src/uv.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uv.cc b/src/uv.cc
index 1481f73e66..54bbf92f12 100644
--- a/src/uv.cc
+++ b/src/uv.cc
@@ -54,10 +54,10 @@ void Initialize(Handle<Object> target,
Handle<Context> context) {
Environment* env = Environment::GetCurrent(context);
target->Set(FIXED_ONE_BYTE_STRING(env->isolate(), "errname"),
- FunctionTemplate::New(ErrName)->GetFunction());
+ FunctionTemplate::New(env->isolate(), ErrName)->GetFunction());
#define V(name, _) \
target->Set(FIXED_ONE_BYTE_STRING(env->isolate(), "UV_" # name), \
- Integer::New(UV_ ## name, env->isolate()));
+ Integer::New(env->isolate(), UV_ ## name));
UV_ERRNO_MAP(V)
#undef V
}