Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(750)

Unified Diff: include/v8.h

Issue 7866: Misc (Closed)
Patch Set: Created 12 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/d8.cc » ('j') | src/globals.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | src/d8.cc » ('j') | src/globals.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698