From 51f6e6a9b39c15fcfd34976005fc8496430545e1 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 25 Feb 2013 23:25:21 +0100 Subject: src, test: downgrade to v8 3.14 api --- src/node_object_wrap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/node_object_wrap.h') diff --git a/src/node_object_wrap.h b/src/node_object_wrap.h index ee08057a21..c7fa3eb9ba 100644 --- a/src/node_object_wrap.h +++ b/src/node_object_wrap.h @@ -59,7 +59,7 @@ class NODE_EXTERN ObjectWrap { static inline T* Unwrap (v8::Handle handle) { assert(!handle.IsEmpty()); assert(handle->InternalFieldCount() > 0); - return static_cast(handle->GetAlignedPointerFromInternalField(0)); + return static_cast(handle->GetPointerFromInternalField(0)); } @@ -70,7 +70,7 @@ class NODE_EXTERN ObjectWrap { assert(handle_.IsEmpty()); assert(handle->InternalFieldCount() > 0); handle_ = v8::Persistent::New(handle); - handle_->SetAlignedPointerInInternalField(0, this); + handle_->SetPointerInInternalField(0, this); MakeWeak(); } -- cgit v1.2.3