diff options
author | Jane Liu <janeliulwq@google.com> | 2017-06-27 16:41:14 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-06-27 21:24:47 +0000 |
commit | 0646275cd9c19e9fb97eaa023494bb771e47e095 (patch) | |
tree | e1bfbfe1d66b4d6aa3b2143d1dd882f417a44b98 /core/fpdfdoc/cpdf_annot.h | |
parent | 8e052a65b3072ab83d4472d7ec3657afc14f4008 (diff) | |
download | pdfium-0646275cd9c19e9fb97eaa023494bb771e47e095.tar.xz |
Made existing annotation APIs to work with APchromium/3143
1. Modified some existing annotation APIs to take into account the
effect of annotation's appearance streams.
* Added an embedder test testing annotations with APs.
This CL is refactored out of
https://pdfium-review.googlesource.com/c/6676/.
Bug=pdfium:737
Change-Id: I27d5e66dfdb90038d147cab1a26e0bf86b324982
Reviewed-on: https://pdfium-review.googlesource.com/7030
Commit-Queue: Jane Liu <janeliulwq@google.com>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpdf_annot.h')
-rw-r--r-- | core/fpdfdoc/cpdf_annot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfdoc/cpdf_annot.h b/core/fpdfdoc/cpdf_annot.h index 85a205345e..081cef7a35 100644 --- a/core/fpdfdoc/cpdf_annot.h +++ b/core/fpdfdoc/cpdf_annot.h @@ -124,7 +124,7 @@ class CPDF_Annot { CPDF_Annot* m_pPopupAnnot = nullptr; }; -CPDF_Stream* FPDFDOC_GetAnnotAP(CPDF_Dictionary* pAnnotDict, +CPDF_Stream* FPDFDOC_GetAnnotAP(const CPDF_Dictionary* pAnnotDict, CPDF_Annot::AppearanceMode mode); #endif // CORE_FPDFDOC_CPDF_ANNOT_H_ |