diff options
author | Michaƫl Zasso <mic.besace@gmail.com> | 2015-07-18 12:34:16 +0300 |
---|---|---|
committer | Rod Vagg <rod@vagg.org> | 2015-09-06 14:38:05 +0300 |
commit | 4abc896a826c892c0d124989cc4ea6f490328942 (patch) | |
tree | b201398a2fd9ea783ef5a8c9bf0ca9299f2451c4 /src/udp_wrap.h | |
parent | 9a03ae63566f761539bd3a18f0b08c34c4ba0e13 (diff) |
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 <info@bnoordhuis.nl>
Diffstat (limited to 'src/udp_wrap.h')
-rw-r--r-- | src/udp_wrap.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/udp_wrap.h b/src/udp_wrap.h index 1582fb46cec..2a92cb340dd 100644 --- a/src/udp_wrap.h +++ b/src/udp_wrap.h @@ -13,9 +13,9 @@ namespace node { class UDPWrap: public HandleWrap { 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); static void GetFD(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>&); static void New(const v8::FunctionCallbackInfo<v8::Value>& args); @@ -46,7 +46,7 @@ class UDPWrap: public HandleWrap { int (*F)(const typename T::HandleType*, sockaddr*, int*)> friend void GetSockOrPeerName(const v8::FunctionCallbackInfo<v8::Value>&); - UDPWrap(Environment* env, v8::Handle<v8::Object> object, AsyncWrap* parent); + UDPWrap(Environment* env, v8::Local<v8::Object> object, AsyncWrap* parent); static void DoBind(const v8::FunctionCallbackInfo<v8::Value>& args, int family); |