From ce04c726a31cd13be131915b1c8b8bc7a00a4d24 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Thu, 13 Mar 2014 20:38:14 +0400 Subject: src: update to v8 3.24 APIs --- src/util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 9545475cc4c..e9634ce3d19 100644 --- a/src/util.h +++ b/src/util.h @@ -60,7 +60,7 @@ namespace node { #define UNREACHABLE() abort() -// If persistent.IsWeak() == false, then do not call persistent.Dispose() +// If persistent.IsWeak() == false, then do not call persistent.Reset() // while the returned Local is still in scope, it will destroy the // reference to the object. template @@ -71,7 +71,7 @@ inline v8::Local PersistentToLocal( // Unchecked conversion from a non-weak Persistent to Local, // use with care! // -// Do not call persistent.Dispose() while the returned Local is still in +// Do not call persistent.Reset() while the returned Local is still in // scope, it will destroy the reference to the object. template inline v8::Local StrongPersistentToLocal( -- cgit v1.2.3