Chromium Code Reviews| Index: include/v8.h |
| diff --git a/include/v8.h b/include/v8.h |
| index 83da77b3d145f2b3532c366306d5ff063da17805..bb6250167d1ac25a3bcd0cfa9cdb5119d148c7b2 100644 |
| --- a/include/v8.h |
| +++ b/include/v8.h |
| @@ -3272,7 +3272,8 @@ class V8_EXPORT Function : public Object { |
| static MaybeLocal<Function> New(Local<Context> context, |
| FunctionCallback callback, |
| Local<Value> data = Local<Value>(), |
| - int length = 0); |
| + int length = 0, |
| + bool remove_constructor = false); |
|
Toon Verwaest
2016/07/06 10:56:47
Does it fit with the V8 api to turn this into an e
|
| static V8_DEPRECATE_SOON( |
| "Use maybe version", |
| Local<Function> New(Isolate* isolate, FunctionCallback callback, |