| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index cedf88c500c1b0e924d9fa1785bab4d59266a248..c683fb91bdba59dd5ecdb825d23716dd9e52c401 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -327,6 +327,10 @@ template <class T> class EXPORT_INLINE Persistent : public Handle<T> {
|
|
|
| template <class S> inline Persistent(S* that) : Handle<T>(that) { }
|
|
|
| + /**
|
| + * "Casts" a plain handle which is known to be a persistent handle
|
| + * to a persistent handle.
|
| + */
|
| template <class S> explicit inline Persistent(Handle<S> that)
|
| : Handle<T>(*that) { }
|
|
|
| @@ -1056,7 +1060,7 @@ class EXPORT Object : public Value {
|
| * Turns on access check on the object if the object is an instance of
|
| * a template that has access check callbacks. If an object has no
|
| * access check info, the object cannot be accessed by anyone.
|
| - */
|
| + */
|
| void TurnOnAccessCheck();
|
|
|
| static Local<Object> New();
|
|
|