Chromium Code Reviews| Index: src/api-natives.h |
| diff --git a/src/api-natives.h b/src/api-natives.h |
| index c5e398296cfb840c52efb0679177ac3995aa8e04..41c28b1daf93459fd323a7d25ac52b3fdaf87309 100644 |
| --- a/src/api-natives.h |
| +++ b/src/api-natives.h |
| @@ -50,6 +50,13 @@ class ApiNatives { |
| Handle<FunctionTemplateInfo> setter, |
| PropertyAttributes attributes); |
| +#ifdef V8_JS_ACCESSORS |
| + static void AddAccessorProperty(Isolate* isolate, Handle<TemplateInfo> info, |
|
epertoso
2015/09/24 12:09:06
These two overloads of AddAccessorProperty are int
vogelheim
2015/09/24 16:35:49
Done.
|
| + Handle<Name> name, Handle<JSFunction> getter, |
| + Handle<JSFunction> setter, |
| + PropertyAttributes attributes); |
| +#endif // V8_JS_ACCESSORS |
| + |
| static void AddNativeDataProperty(Isolate* isolate, Handle<TemplateInfo> info, |
| Handle<AccessorInfo> property); |
| }; |