Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 3a86e86e020cbc9448c50f2ccd21476035a66c2e..24c5f261b8d8b6e5e8fbd349994565f13162dc93 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -4609,11 +4609,11 @@ class V8EXPORT Context { |
Handle<Value> global_object = Handle<Value>()); |
/** Deprecated. Use Isolate version instead. */ |
- // TODO(mstarzinger): Put this behind the V8_DEPRECATED guard. |
- static Persistent<Context> New( |
- ExtensionConfiguration* extensions = NULL, |
- Handle<ObjectTemplate> global_template = Handle<ObjectTemplate>(), |
- Handle<Value> global_object = Handle<Value>()); |
+ V8_DEPRECATED( |
+ static Persistent<Context> New( |
+ ExtensionConfiguration* extensions = NULL, |
+ Handle<ObjectTemplate> global_template = Handle<ObjectTemplate>(), |
+ Handle<Value> global_object = Handle<Value>())); |
/** Returns the last entered context. */ |
static Local<Context> GetEntered(); |