diff options
author | tsepez <tsepez@chromium.org> | 2016-09-07 14:11:27 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-07 14:11:27 -0700 |
commit | 7b68f616e49235267eeac8db51aadade6d60e243 (patch) | |
tree | e49619edf4ff8f7b10adec869bb30dcc4a1b88f9 /fpdfsdk/javascript/Annot.h | |
parent | f56d93f8ea1c2145401e99e61cefdbfcb7341229 (diff) | |
download | pdfium-7b68f616e49235267eeac8db51aadade6d60e243.tar.xz |
Make Observers into a templated class
Review-Url: https://codereview.chromium.org/2311343003
Diffstat (limited to 'fpdfsdk/javascript/Annot.h')
-rw-r--r-- | fpdfsdk/javascript/Annot.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fpdfsdk/javascript/Annot.h b/fpdfsdk/javascript/Annot.h index be850350ae..c8b0afb556 100644 --- a/fpdfsdk/javascript/Annot.h +++ b/fpdfsdk/javascript/Annot.h @@ -12,7 +12,7 @@ #include "fpdfsdk/include/cpdfsdk_baannot.h" #include "fpdfsdk/javascript/JS_Define.h" -class Annot : public CJS_EmbedObj { +class Annot : public CJS_EmbedObj, public CPDFSDK_Annot::Observer { public: explicit Annot(CJS_Object* pJSObject); ~Annot() override; @@ -25,7 +25,6 @@ class Annot : public CJS_EmbedObj { private: CPDFSDK_Annot* m_pAnnot = nullptr; - std::unique_ptr<CPDFSDK_Annot::Observer> m_pObserver; }; class CJS_Annot : public CJS_Object { |