| Index: fpdfsdk/javascript/Annot.h
|
| diff --git a/fpdfsdk/javascript/Annot.h b/fpdfsdk/javascript/Annot.h
|
| index b3ea292aed86e3a30e6912058477e3bed590b31c..be850350aea4cf6c02e84e5ee93a4e564737051c 100644
|
| --- a/fpdfsdk/javascript/Annot.h
|
| +++ b/fpdfsdk/javascript/Annot.h
|
| @@ -7,6 +7,8 @@
|
| #ifndef FPDFSDK_JAVASCRIPT_ANNOT_H_
|
| #define FPDFSDK_JAVASCRIPT_ANNOT_H_
|
|
|
| +#include <memory>
|
| +
|
| #include "fpdfsdk/include/cpdfsdk_baannot.h"
|
| #include "fpdfsdk/javascript/JS_Define.h"
|
|
|
| @@ -22,7 +24,8 @@ class Annot : public CJS_EmbedObj {
|
| void SetSDKAnnot(CPDFSDK_BAAnnot* annot);
|
|
|
| private:
|
| - CPDFSDK_BAAnnot* m_BAAnnot = nullptr;
|
| + CPDFSDK_Annot* m_pAnnot = nullptr;
|
| + std::unique_ptr<CPDFSDK_Annot::Observer> m_pObserver;
|
| };
|
|
|
| class CJS_Annot : public CJS_Object {
|
|
|