From 0a4ebc3d2c7434d46234264f3456fa3b2da060d6 Mon Sep 17 00:00:00 2001 From: Trevor Norris Date: Thu, 18 Apr 2013 16:52:07 -0700 Subject: src: replace Holder() with This() Switch to always use args.This() to retrieve object instance. --- src/handle_wrap.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/handle_wrap.h') diff --git a/src/handle_wrap.h b/src/handle_wrap.h index 7c88a61d87..fcd9fb2cc7 100644 --- a/src/handle_wrap.h +++ b/src/handle_wrap.h @@ -47,10 +47,10 @@ namespace node { // taken care of. #define UNWRAP_NO_ABORT(type) \ - assert(!args.Holder().IsEmpty()); \ - assert(args.Holder()->InternalFieldCount() > 0); \ + assert(!args.This().IsEmpty()); \ + assert(args.This()->InternalFieldCount() > 0); \ type* wrap = static_cast( \ - args.Holder()->GetAlignedPointerFromInternalField(0)); + args.This()->GetAlignedPointerFromInternalField(0)); class HandleWrap { public: -- cgit v1.2.3