diff options
Diffstat (limited to 'src/uv.cc')
-rw-r--r-- | src/uv.cc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -9,7 +9,7 @@ namespace uv { using v8::Context; using v8::FunctionCallbackInfo; using v8::FunctionTemplate; -using v8::Handle; +using v8::Local; using v8::Integer; using v8::Object; using v8::String; @@ -26,9 +26,9 @@ void ErrName(const FunctionCallbackInfo<Value>& args) { } -void Initialize(Handle<Object> target, - Handle<Value> unused, - Handle<Context> context) { +void Initialize(Local<Object> target, + Local<Value> unused, + Local<Context> context) { Environment* env = Environment::GetCurrent(context); target->Set(FIXED_ONE_BYTE_STRING(env->isolate(), "errname"), env->NewFunctionTemplate(ErrName)->GetFunction()); |