diff options
author | Lei Zhang <thestig@chromium.org> | 2018-10-18 21:09:55 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-18 21:09:55 +0000 |
commit | 31beedc1e833842385b20b40d0ef27dbfc979443 (patch) | |
tree | 3678b19d407cfa3bc38bcc654b3b14e1aa7cdba9 /fxjs/cjs_annot.h | |
parent | f58b6f62614357ef3a6f171a9f5c89d72981ac40 (diff) | |
download | pdfium-31beedc1e833842385b20b40d0ef27dbfc979443.tar.xz |
Do more IWYU in fxjs/.
Change-Id: I778085c6e21904e697d5899a93f4e4e9fca92478
Reviewed-on: https://pdfium-review.googlesource.com/c/44272
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fxjs/cjs_annot.h')
-rw-r--r-- | fxjs/cjs_annot.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fxjs/cjs_annot.h b/fxjs/cjs_annot.h index ea2168ea31..0c2a66b965 100644 --- a/fxjs/cjs_annot.h +++ b/fxjs/cjs_annot.h @@ -7,9 +7,11 @@ #ifndef FXJS_CJS_ANNOT_H_ #define FXJS_CJS_ANNOT_H_ -#include "fpdfsdk/cpdfsdk_baannot.h" +#include "fxjs/cjs_object.h" #include "fxjs/js_define.h" +class CPDFSDK_BAAnnot; + class CJS_Annot final : public CJS_Object { public: static int GetObjDefnID(); @@ -18,7 +20,7 @@ class CJS_Annot final : public CJS_Object { CJS_Annot(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime); ~CJS_Annot() override; - void SetSDKAnnot(CPDFSDK_BAAnnot* annot) { m_pAnnot.Reset(annot); } + void SetSDKAnnot(CPDFSDK_BAAnnot* annot); JS_STATIC_PROP(hidden, hidden, CJS_Annot); JS_STATIC_PROP(name, name, CJS_Annot); |