diff options
author | Fedor Indutny <fedor.indutny@gmail.com> | 2014-03-13 20:38:14 +0400 |
---|---|---|
committer | Fedor Indutny <fedor.indutny@gmail.com> | 2014-03-13 20:56:55 +0400 |
commit | ce04c726a31cd13be131915b1c8b8bc7a00a4d24 (patch) | |
tree | b309f6f42362231f54825586b9d79bd6163bb985 /src/util.h | |
parent | 1c7bf245dc2d520c005e01bcb56ecb3275971395 (diff) |
src: update to v8 3.24 APIs
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
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<T> is still in scope, it will destroy the // reference to the object. template <class TypeName> @@ -71,7 +71,7 @@ inline v8::Local<TypeName> PersistentToLocal( // Unchecked conversion from a non-weak Persistent<T> to Local<TLocal<T>, // use with care! // -// Do not call persistent.Dispose() while the returned Local<T> is still in +// Do not call persistent.Reset() while the returned Local<T> is still in // scope, it will destroy the reference to the object. template <class TypeName> inline v8::Local<TypeName> StrongPersistentToLocal( |