diff options
Diffstat (limited to 'src/js_stream.h')
-rw-r--r-- | src/js_stream.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/js_stream.h b/src/js_stream.h index 9f7ba7de271..1a8902af466 100644 --- a/src/js_stream.h +++ b/src/js_stream.h @@ -10,9 +10,9 @@ namespace node { class JSStream : public StreamBase, public AsyncWrap { public: - static void Initialize(v8::Handle<v8::Object> target, - v8::Handle<v8::Value> unused, - v8::Handle<v8::Context> context); + static void Initialize(v8::Local<v8::Object> target, + v8::Local<v8::Value> unused, + v8::Local<v8::Context> context); ~JSStream(); @@ -31,7 +31,7 @@ class JSStream : public StreamBase, public AsyncWrap { size_t self_size() const override { return sizeof(*this); } protected: - JSStream(Environment* env, v8::Handle<v8::Object> obj, AsyncWrap* parent); + JSStream(Environment* env, v8::Local<v8::Object> obj, AsyncWrap* parent); AsyncWrap* GetAsyncWrap() override; |