summaryrefslogtreecommitdiff
path: root/src/handle_wrap.cc
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.cc
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.cc')
-rw-r--r--src/handle_wrap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handle_wrap.cc b/src/handle_wrap.cc
index 740e2b3aa2..07f19ad222 100644
--- a/src/handle_wrap.cc
+++ b/src/handle_wrap.cc
@@ -84,7 +84,7 @@ Handle<Value> HandleWrap::Close(const Arguments& args) {
HandleScope scope(node_isolate);
HandleWrap *wrap = static_cast<HandleWrap*>(
- args.Holder()->GetAlignedPointerFromInternalField(0));
+ args.This()->GetAlignedPointerFromInternalField(0));
// guard against uninitialized handle or double close
if (wrap == NULL || wrap->handle__ == NULL) {