diff options
Diffstat (limited to 'fpdfsdk/javascript/Annot.h')
-rw-r--r-- | fpdfsdk/javascript/Annot.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/fpdfsdk/javascript/Annot.h b/fpdfsdk/javascript/Annot.h index 00872a4ed4..94b67622e5 100644 --- a/fpdfsdk/javascript/Annot.h +++ b/fpdfsdk/javascript/Annot.h @@ -17,14 +17,18 @@ class Annot : public CJS_EmbedObj { bool get_hidden(CJS_Runtime* pRuntime, CJS_Value* vp, WideString* sError); bool set_hidden(CJS_Runtime* pRuntime, - const CJS_Value& vp, + v8::Local<v8::Value> vp, WideString* sError); bool get_name(CJS_Runtime* pRuntime, CJS_Value* vp, WideString* sError); - bool set_name(CJS_Runtime* pRuntime, const CJS_Value& vp, WideString* sError); + bool set_name(CJS_Runtime* pRuntime, + v8::Local<v8::Value> vp, + WideString* sError); bool get_type(CJS_Runtime* pRuntime, CJS_Value* vp, WideString* sError); - bool set_type(CJS_Runtime* pRuntime, const CJS_Value& vp, WideString* sError); + bool set_type(CJS_Runtime* pRuntime, + v8::Local<v8::Value> vp, + WideString* sError); void SetSDKAnnot(CPDFSDK_BAAnnot* annot); |