diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-02-17 13:30:23 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-02-17 13:30:23 -0800 |
commit | ccc948344564f0e2079c3c3a5b1483ab5203fec9 (patch) | |
tree | d125f481a7a63a728e8bd2af151f5a633876eaa5 /fpdfsdk/include/jsapi/fxjs_v8.h | |
parent | ca6c0d3262d994fbb008ee1ae5ff19c1612bc982 (diff) | |
download | pdfium-ccc948344564f0e2079c3c3a5b1483ab5203fec9.tar.xz |
Merge to XFA: Tidy up JS_Defines.h
Original Review URL: https://codereview.chromium.org/927263003
TBR=brucedawson@chromium.org
Review URL: https://codereview.chromium.org/936613002
Diffstat (limited to 'fpdfsdk/include/jsapi/fxjs_v8.h')
-rw-r--r-- | fpdfsdk/include/jsapi/fxjs_v8.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fpdfsdk/include/jsapi/fxjs_v8.h b/fpdfsdk/include/jsapi/fxjs_v8.h index 3ea5054e17..e08196d6f1 100644 --- a/fpdfsdk/include/jsapi/fxjs_v8.h +++ b/fpdfsdk/include/jsapi/fxjs_v8.h @@ -45,14 +45,12 @@ class IFXJS_Runtime; #ifndef JSCRIPT_ARGS #define JSCRIPT_ARGS -#define JS_PROPGET_ARGS v8::Local<v8::String> property,const v8::PropertyCallbackInfo<v8::Value>& info -#define JS_PROPPUT_ARGS v8::Local<v8::String> property,v8::Local<v8::Value> value,const v8::PropertyCallbackInfo<void>& info -#define JS_METHOD_ARGS const v8::FunctionCallbackInfo<v8::Value>& info #define JS_CONSTRUCTOR_ARGS IFXJS_Context* cc, v8::Handle<v8::Object> obj, v8::Handle<v8::Object> global #define JS_DESTRUCTOR_ARGS v8::Handle<v8::Object> obj #define JS_PROPQUERY_ARGS v8::Local<v8::String> property,const v8::PropertyCallbackInfo<v8::Integer>& info -#define JS_NAMED_PROPGET_ARGS JS_PROPGET_ARGS +#define JS_NAMED_PROPGET_ARGS v8::Local<v8::String> property, const v8::PropertyCallbackInfo<v8::Value>& info + #define JS_NAMED_PROPPUT_ARGS v8::Local<v8::String> property,v8::Local<v8::Value> value,const v8::PropertyCallbackInfo<v8::Value>& info #define JS_PROPDEL_ARGS v8::Local<v8::String> property,const v8::PropertyCallbackInfo<v8::Boolean>& info |