summaryrefslogtreecommitdiff
path: root/src/handle_wrap.h
diff options
context:
space:
mode:
authorTrevor Norris <trev.norris@gmail.com>2013-04-18 16:52:07 -0700
committerBen Noordhuis <info@bnoordhuis.nl>2013-04-19 15:24:01 +0200
commit0a4ebc3d2c7434d46234264f3456fa3b2da060d6 (patch)
treedb9ac43d26460665f62cb952e1740551865069be /src/handle_wrap.h
parent223607c90f80441284482bf4480a74d1fcf5edce (diff)
downloadandroid-node-v8-0a4ebc3d2c7434d46234264f3456fa3b2da060d6.tar.gz
android-node-v8-0a4ebc3d2c7434d46234264f3456fa3b2da060d6.tar.bz2
android-node-v8-0a4ebc3d2c7434d46234264f3456fa3b2da060d6.zip
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 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<type*>( \
- args.Holder()->GetAlignedPointerFromInternalField(0));
+ args.This()->GetAlignedPointerFromInternalField(0));
class HandleWrap {
public: