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

Unified Diff: src/api-natives.h

Issue 2162443002: Add API to create a "remote" instance of a given FunctionTemplate (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates 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 | « src/api.cc ('k') | src/api-natives.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api-natives.h
diff --git a/src/api-natives.h b/src/api-natives.h
index 66901fe965e715918c4d33c61d1f0d2b85a0c647..74d3788fd123d16add05457d01fd64c4a49abf70 100644
--- a/src/api-natives.h
+++ b/src/api-natives.h
@@ -26,6 +26,9 @@ class ApiNatives {
Handle<ObjectTemplateInfo> data,
Handle<JSReceiver> new_target = Handle<JSReceiver>());
+ MUST_USE_RESULT static MaybeHandle<JSObject> InstantiateRemoteObject(
+ Handle<ObjectTemplateInfo> data);
+
enum ApiInstanceType {
JavaScriptObjectType,
GlobalObjectType,
« no previous file with comments | « src/api.cc ('k') | src/api-natives.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698