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

Unified Diff: include/v8.h

Issue 2123143002: Make it possible to create a v8::Function directly w/o a prototype (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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/api.cc » ('j') | no next file with comments »
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 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,
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698