From 613d76ef6a00ec091367de1e63bc51e3ab672cbd Mon Sep 17 00:00:00 2001 From: Trevor Norris Date: Tue, 29 Oct 2013 13:23:58 -0700 Subject: src: shorten Object{Wrap,Unwrap} Going back to the original names of Wrap/Unwrap now that most all the class members that duplicate the name and functionality have been removed. --- src/process_wrap.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/process_wrap.cc') diff --git a/src/process_wrap.cc b/src/process_wrap.cc index 2ed3d8f301..ba09745eaa 100644 --- a/src/process_wrap.cc +++ b/src/process_wrap.cc @@ -110,7 +110,7 @@ class ProcessWrap : public HandleWrap { Local handle = stdio->Get(handle_key).As(); options->stdio[i].data.stream = reinterpret_cast( - UnwrapObject(handle)->UVHandle()); + Unwrap(handle)->UVHandle()); } else if (type->Equals(FIXED_ONE_BYTE_STRING(node_isolate, "wrap"))) { Local handle_key = FIXED_ONE_BYTE_STRING(node_isolate, "handle"); @@ -133,7 +133,7 @@ class ProcessWrap : public HandleWrap { Environment* env = Environment::GetCurrent(args.GetIsolate()); HandleScope handle_scope(args.GetIsolate()); - ProcessWrap* wrap = UnwrapObject(args.This()); + ProcessWrap* wrap = Unwrap(args.This()); Local js_options = args[0]->ToObject(); @@ -261,7 +261,7 @@ class ProcessWrap : public HandleWrap { static void Kill(const FunctionCallbackInfo& args) { HandleScope scope(node_isolate); - ProcessWrap* wrap = UnwrapObject(args.This()); + ProcessWrap* wrap = Unwrap(args.This()); int signal = args[0]->Int32Value(); int err = uv_process_kill(&wrap->process_, signal); -- cgit v1.2.3