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:
authorTrevor Norris <trev.norris@gmail.com>2013-04-19 03:52:07 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2013-04-19 17:24:01 +0400
commit0a4ebc3d2c7434d46234264f3456fa3b2da060d6 (patch)
treedb9ac43d26460665f62cb952e1740551865069be /src/handle_wrap.h
parent223607c90f80441284482bf4480a74d1fcf5edce (diff)
src: replace Holder() with This()
Switch to always use args.This() to retrieve object instance.
Diffstat (limited to 'src/handle_wrap.h')
-rw-r--r--src/handle_wrap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/handle_wrap.h b/src/handle_wrap.h
index 7c88a61d87a..fcd9fb2cc70 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<type*>( \
- args.Holder()->GetAlignedPointerFromInternalField(0));
+ args.This()->GetAlignedPointerFromInternalField(0));
class HandleWrap {
public: