Revision: 14618
Author:   [email protected]
Date:     Fri May 10 05:48:53 2013
Log:      Deprecate the version of Context::New which returns a Persistent.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/15059016

Patch from Marja Hölttä <[email protected]>.
http://code.google.com/p/v8/source/detail?r=14618

Modified:
 /branches/bleeding_edge/include/v8.h

=======================================
--- /branches/bleeding_edge/include/v8.h        Tue May  7 09:28:51 2013
+++ /branches/bleeding_edge/include/v8.h        Fri May 10 05:48:53 2013
@@ -4609,11 +4609,10 @@
       Handle<Value> global_object = Handle<Value>());

   /** Deprecated. Use Isolate version instead. */
-  // TODO(mstarzinger): Put this behind the V8_DEPRECATED guard.
-  static Persistent<Context> New(
+  V8_DEPRECATED(static Persistent<Context> New(
       ExtensionConfiguration* extensions = NULL,
       Handle<ObjectTemplate> global_template = Handle<ObjectTemplate>(),
-      Handle<Value> global_object = Handle<Value>());
+      Handle<Value> global_object = Handle<Value>()));

   /** Returns the last entered context. */
   static Local<Context> GetEntered();

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to