From 4abc896a826c892c0d124989cc4ea6f490328942 Mon Sep 17 00:00:00 2001 From: Michaƫl Zasso Date: Sat, 18 Jul 2015 11:34:16 +0200 Subject: src: replace usage of v8::Handle with v8::Local v8::Handle is deprecated: https://codereview.chromium.org/1224623004 PR-URL: https://github.com/nodejs/io.js/pull/2202 Reviewed-By: Ben Noordhuis --- src/tty_wrap.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/tty_wrap.cc') diff --git a/src/tty_wrap.cc b/src/tty_wrap.cc index eaec271937..76a2472f8a 100644 --- a/src/tty_wrap.cc +++ b/src/tty_wrap.cc @@ -18,7 +18,6 @@ using v8::Context; using v8::Function; using v8::FunctionCallbackInfo; using v8::FunctionTemplate; -using v8::Handle; using v8::Integer; using v8::Local; using v8::Object; @@ -27,9 +26,9 @@ using v8::String; using v8::Value; -void TTYWrap::Initialize(Handle target, - Handle unused, - Handle context) { +void TTYWrap::Initialize(Local target, + Local unused, + Local context) { Environment* env = Environment::GetCurrent(context); Local t = env->NewFunctionTemplate(New); @@ -130,7 +129,7 @@ void TTYWrap::New(const FunctionCallbackInfo& args) { } -TTYWrap::TTYWrap(Environment* env, Handle object, int fd, bool readable) +TTYWrap::TTYWrap(Environment* env, Local object, int fd, bool readable) : StreamWrap(env, object, reinterpret_cast(&handle_), -- cgit v1.2.3