diff options
-rw-r--r-- | src/fs_event_wrap.cc | 2 | ||||
-rw-r--r-- | src/handle_wrap.cc | 5 | ||||
-rw-r--r-- | src/handle_wrap.h | 1 | ||||
-rw-r--r-- | src/process_wrap.cc | 2 | ||||
-rw-r--r-- | src/signal_wrap.cc | 2 | ||||
-rw-r--r-- | src/stream_wrap.cc | 3 | ||||
-rw-r--r-- | src/tcp_wrap.cc | 1 | ||||
-rw-r--r-- | src/timer_wrap.cc | 2 | ||||
-rw-r--r-- | src/udp_wrap.cc | 2 |
9 files changed, 0 insertions, 20 deletions
diff --git a/src/fs_event_wrap.cc b/src/fs_event_wrap.cc index 3843f5db50..b8d24c0d35 100644 --- a/src/fs_event_wrap.cc +++ b/src/fs_event_wrap.cc @@ -71,8 +71,6 @@ FSEventWrap::~FSEventWrap() { void FSEventWrap::Initialize(Handle<Object> target) { - HandleWrap::Initialize(target); - HandleScope scope(node_isolate); Local<FunctionTemplate> t = FunctionTemplate::New(New); diff --git a/src/handle_wrap.cc b/src/handle_wrap.cc index 38b53ed402..1eb0dc5216 100644 --- a/src/handle_wrap.cc +++ b/src/handle_wrap.cc @@ -38,11 +38,6 @@ extern QUEUE handle_wrap_queue; static Cached<String> close_sym; -void HandleWrap::Initialize(Handle<Object> target) { - /* Doesn't do anything at the moment. */ -} - - void HandleWrap::Ref(const FunctionCallbackInfo<Value>& args) { HandleScope scope(node_isolate); diff --git a/src/handle_wrap.h b/src/handle_wrap.h index cbe7e3248b..f06f639ce4 100644 --- a/src/handle_wrap.h +++ b/src/handle_wrap.h @@ -57,7 +57,6 @@ namespace node { class HandleWrap { public: - static void Initialize(v8::Handle<v8::Object> target); static void Close(const v8::FunctionCallbackInfo<v8::Value>& args); static void Ref(const v8::FunctionCallbackInfo<v8::Value>& args); static void Unref(const v8::FunctionCallbackInfo<v8::Value>& args); diff --git a/src/process_wrap.cc b/src/process_wrap.cc index b3671d941a..344ac64593 100644 --- a/src/process_wrap.cc +++ b/src/process_wrap.cc @@ -48,8 +48,6 @@ class ProcessWrap : public HandleWrap { static void Initialize(Handle<Object> target) { HandleScope scope(node_isolate); - HandleWrap::Initialize(target); - Local<FunctionTemplate> constructor = FunctionTemplate::New(New); constructor->InstanceTemplate()->SetInternalFieldCount(1); constructor->SetClassName(String::NewSymbol("Process")); diff --git a/src/signal_wrap.cc b/src/signal_wrap.cc index 3f5df4e90a..1c1c047fbf 100644 --- a/src/signal_wrap.cc +++ b/src/signal_wrap.cc @@ -44,8 +44,6 @@ class SignalWrap : public HandleWrap { static void Initialize(Handle<Object> target) { HandleScope scope(node_isolate); - HandleWrap::Initialize(target); - Local<FunctionTemplate> constructor = FunctionTemplate::New(New); constructor->InstanceTemplate()->SetInternalFieldCount(1); constructor->SetClassName(String::NewSymbol("Signal")); diff --git a/src/stream_wrap.cc b/src/stream_wrap.cc index ea8aaecacc..7fddb82ebf 100644 --- a/src/stream_wrap.cc +++ b/src/stream_wrap.cc @@ -63,9 +63,6 @@ void StreamWrap::Initialize(Handle<Object> target) { initialized = true; HandleScope scope(node_isolate); - - HandleWrap::Initialize(target); - buffer_sym = String::New("buffer"); bytes_sym = String::New("bytes"); write_queue_size_sym = String::New("writeQueueSize"); diff --git a/src/tcp_wrap.cc b/src/tcp_wrap.cc index ad852dee00..4b9cb31734 100644 --- a/src/tcp_wrap.cc +++ b/src/tcp_wrap.cc @@ -67,7 +67,6 @@ Local<Object> TCPWrap::Instantiate() { void TCPWrap::Initialize(Handle<Object> target) { - HandleWrap::Initialize(target); StreamWrap::Initialize(target); HandleScope scope(node_isolate); diff --git a/src/timer_wrap.cc b/src/timer_wrap.cc index 8ca3958677..3ba1f1975c 100644 --- a/src/timer_wrap.cc +++ b/src/timer_wrap.cc @@ -42,8 +42,6 @@ class TimerWrap : public HandleWrap { static void Initialize(Handle<Object> target) { HandleScope scope(node_isolate); - HandleWrap::Initialize(target); - Local<FunctionTemplate> constructor = FunctionTemplate::New(New); constructor->InstanceTemplate()->SetInternalFieldCount(1); constructor->SetClassName(String::NewSymbol("Timer")); diff --git a/src/udp_wrap.cc b/src/udp_wrap.cc index 7a2334e12b..8b4343834e 100644 --- a/src/udp_wrap.cc +++ b/src/udp_wrap.cc @@ -66,8 +66,6 @@ UDPWrap::~UDPWrap() { void UDPWrap::Initialize(Handle<Object> target) { - HandleWrap::Initialize(target); - HandleScope scope(node_isolate); buffer_sym = String::New("buffer"); |