summaryrefslogtreecommitdiff
path: root/src/uv.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/uv.cc')
-rw-r--r--src/uv.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/uv.cc b/src/uv.cc
index 2208ebde3c..d03e775008 100644
--- a/src/uv.cc
+++ b/src/uv.cc
@@ -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());