summaryrefslogtreecommitdiff
path: root/src/stream_wrap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream_wrap.cc')
-rw-r--r--src/stream_wrap.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/stream_wrap.cc b/src/stream_wrap.cc
index ec98acbb30..cd9b2c9064 100644
--- a/src/stream_wrap.cc
+++ b/src/stream_wrap.cc
@@ -27,7 +27,6 @@ using v8::Context;
using v8::EscapableHandleScope;
using v8::FunctionCallbackInfo;
using v8::FunctionTemplate;
-using v8::Handle;
using v8::HandleScope;
using v8::Integer;
using v8::Local;
@@ -40,9 +39,9 @@ using v8::Undefined;
using v8::Value;
-void StreamWrap::Initialize(Handle<Object> target,
- Handle<Value> unused,
- Handle<Context> context) {
+void StreamWrap::Initialize(Local<Object> target,
+ Local<Value> unused,
+ Local<Context> context) {
Environment* env = Environment::GetCurrent(context);
Local<FunctionTemplate> sw =
@@ -81,7 +80,7 @@ StreamWrap::StreamWrap(Environment* env,
void StreamWrap::AddMethods(Environment* env,
- v8::Handle<v8::FunctionTemplate> target,
+ v8::Local<v8::FunctionTemplate> target,
int flags) {
env->SetProtoMethod(target, "setBlocking", SetBlocking);
StreamBase::AddMethods<StreamWrap>(env, target, flags);