Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2016-09-22 11:36:13 +0300
committerDaniel Bevenius <daniel.bevenius@gmail.com>2016-09-24 22:01:49 +0300
commit6be43a9bade4b4139c2cd06952e7567bb1f741a5 (patch)
tree44070af7add7d4c8d9fe789b4b7140424a5ca0d5 /src/handle_wrap.cc
parent7458fbb0c7187f103d04388df2403d1ad2d72d03 (diff)
src: rename handle__ to handle_ in HandleWrap
Commit 46633934fed7dfce289298cf16ea0f4161b77bb7 (src: pull OnConnection from pipe_wrap and tcp_wrap) removed the private handle_ member from TCPWrap which should allow us to rename the private handle__ member in HandleWrap. PR-URL: https://github.com/nodejs/node/pull/8712 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ilkka Myller <ilkka.myller@nodefield.com>
Diffstat (limited to 'src/handle_wrap.cc')
-rw-r--r--src/handle_wrap.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/handle_wrap.cc b/src/handle_wrap.cc
index daf821e1d2a..317fb48b1d2 100644
--- a/src/handle_wrap.cc
+++ b/src/handle_wrap.cc
@@ -56,7 +56,7 @@ void HandleWrap::Close(const FunctionCallbackInfo<Value>& args) {
return;
CHECK_EQ(false, wrap->persistent().IsEmpty());
- uv_close(wrap->handle__, OnClose);
+ uv_close(wrap->handle_, OnClose);
wrap->state_ = kClosing;
if (args[0]->IsFunction()) {
@@ -73,8 +73,8 @@ HandleWrap::HandleWrap(Environment* env,
AsyncWrap* parent)
: AsyncWrap(env, object, provider, parent),
state_(kInitialized),
- handle__(handle) {
- handle__->data = this;
+ handle_(handle) {
+ handle_->data = this;
HandleScope scope(env->isolate());
Wrap(object, this);
env->handle_wrap_queue()->PushBack(this);