summaryrefslogtreecommitdiff
path: root/src/fs_event_wrap.cc
diff options
context:
space:
mode:
authorFedor Indutny <fedor.indutny@gmail.com>2013-01-01 16:05:53 +0400
committerFedor Indutny <fedor.indutny@gmail.com>2013-01-02 12:13:46 +0400
commit5e57bcc3cee41a666f05e5e4ffd1b76e18b66282 (patch)
tree40272f5a03eb79530dd5c0210a99d22bdddf1ccd /src/fs_event_wrap.cc
parent7b4d95a976f1b76e6dcefb6ca91dff738c80ab7a (diff)
downloadandroid-node-v8-5e57bcc3cee41a666f05e5e4ffd1b76e18b66282.tar.gz
android-node-v8-5e57bcc3cee41a666f05e5e4ffd1b76e18b66282.tar.bz2
android-node-v8-5e57bcc3cee41a666f05e5e4ffd1b76e18b66282.zip
bindings: update to new v8 apis
GetPointerFromInternalField() is deprecated now, we should use GetAlignedPointerFromInternalField().
Diffstat (limited to 'src/fs_event_wrap.cc')
-rw-r--r--src/fs_event_wrap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs_event_wrap.cc b/src/fs_event_wrap.cc
index bb45733007..0153b31026 100644
--- a/src/fs_event_wrap.cc
+++ b/src/fs_event_wrap.cc
@@ -171,7 +171,7 @@ Handle<Value> FSEventWrap::Close(const Arguments& args) {
// and legal, HandleWrap::Close() deals with them the same way.
assert(!args.Holder().IsEmpty());
assert(args.Holder()->InternalFieldCount() > 0);
- void* ptr = args.Holder()->GetPointerFromInternalField(0);
+ void* ptr = args.Holder()->GetAlignedPointerFromInternalField(0);
FSEventWrap* wrap = static_cast<FSEventWrap*>(ptr);
if (wrap == NULL || wrap->initialized_ == false) return Undefined();