| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index 9df6bbb42c44a75d0522ac19b4037b884615180d..4eb7614210fd1fb3120428e65f7c9ed97394f3b9 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -4521,6 +4521,15 @@ class V8_EXPORT FunctionTemplate : public Template {
|
| Local<Context> context);
|
|
|
| /**
|
| + * Similar to Context::NewRemoteContext, this creates an instance that
|
| + * isn't backed by an actual object.
|
| + *
|
| + * The InstanceTemplate of this FunctionTemplate must have access checks with
|
| + * handlers installed.
|
| + */
|
| + V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewRemoteInstance();
|
| +
|
| + /**
|
| * Set the call-handler callback for a FunctionTemplate. This
|
| * callback is called whenever the function created from this
|
| * FunctionTemplate is called.
|
|
|