summaryrefslogtreecommitdiff
path: root/src/udp_wrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/udp_wrap.h')
-rw-r--r--src/udp_wrap.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/udp_wrap.h b/src/udp_wrap.h
index 1582fb46ce..2a92cb340d 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);