summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/Annot.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/Annot.h')
-rw-r--r--fpdfsdk/javascript/Annot.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/javascript/Annot.h b/fpdfsdk/javascript/Annot.h
index 39073e6719..dffa713c4d 100644
--- a/fpdfsdk/javascript/Annot.h
+++ b/fpdfsdk/javascript/Annot.h
@@ -17,9 +17,9 @@ class Annot : public CJS_EmbedObj {
explicit Annot(CJS_Object* pJSObject);
~Annot() override;
- bool hidden(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- bool name(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- bool type(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
+ bool hidden(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError);
+ bool name(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError);
+ bool type(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError);
void SetSDKAnnot(CPDFSDK_BAAnnot* annot);