summaryrefslogtreecommitdiff
path: root/src/pipe_wrap.cc
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2017-10-12 07:11:03 +0200
committerJames M Snell <jasnell@gmail.com>2017-10-13 13:05:49 -0700
commit00fe76d2df4651b453a906fac0cccc5fcafb067a (patch)
treecd72f00b5742577f41913b21f1bde6b5d3954c1c /src/pipe_wrap.cc
parent7245e852f2191a256fc748b891266f4b3a91ac10 (diff)
downloadandroid-node-v8-00fe76d2df4651b453a906fac0cccc5fcafb067a.tar.gz
android-node-v8-00fe76d2df4651b453a906fac0cccc5fcafb067a.tar.bz2
android-node-v8-00fe76d2df4651b453a906fac0cccc5fcafb067a.zip
src: rename StreamWrap to LibuvStreamWrap
This should help clarify what kind of resource a `StreamWrap` represents. PR-URL: https://github.com/nodejs/node/pull/16157 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'src/pipe_wrap.cc')
-rw-r--r--src/pipe_wrap.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pipe_wrap.cc b/src/pipe_wrap.cc
index bf1ddbdc0d..72dd99c1e5 100644
--- a/src/pipe_wrap.cc
+++ b/src/pipe_wrap.cc
@@ -80,9 +80,9 @@ void PipeWrap::Initialize(Local<Object> target,
env->SetProtoMethod(t, "hasRef", HandleWrap::HasRef);
#ifdef _WIN32
- StreamWrap::AddMethods(env, t);
+ LibuvStreamWrap::AddMethods(env, t);
#else
- StreamWrap::AddMethods(env, t, StreamBase::kFlagHasWritev);
+ LibuvStreamWrap::AddMethods(env, t, StreamBase::kFlagHasWritev);
#endif
env->SetProtoMethod(t, "bind", Bind);