Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 73e5e5c4ee0da19cdbbaf2e320c270b9743f72de..910279b52e6b29828a87e25106dde376aecc4869 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -4274,7 +4274,9 @@ struct IndexedPropertyHandlerConfiguration { |
class V8_EXPORT ObjectTemplate : public Template { |
public: |
/** Creates an ObjectTemplate. */ |
- static Local<ObjectTemplate> New(Isolate* isolate); |
+ static Local<ObjectTemplate> New( |
+ Isolate* isolate, |
+ Handle<FunctionTemplate> constructor = Handle<FunctionTemplate>()); |
static V8_DEPRECATE_SOON("Use isolate version", Local<ObjectTemplate> New()); |
/** Creates a new instance of this template.*/ |