diff options
author | Lei Zhang <thestig@chromium.org> | 2015-06-10 14:51:39 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-06-10 14:51:39 -0700 |
commit | 71b0378c7ce0bf8bfa54eddb2c2734729bae27f1 (patch) | |
tree | de3e43a726f2731abd0809cecec16e7fa29c8333 /core/include | |
parent | d7e5cc754a937605d1f73db5e7967c58ddd80742 (diff) | |
download | pdfium-71b0378c7ce0bf8bfa54eddb2c2734729bae27f1.tar.xz |
Merge to XFA: Cache the CPDF_Annot's subtype, since it should never changes.
BUG=495300
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1178513002.
(cherry picked from commit 7b2897c47245f04c806cfa8cee09458e31ba3777)
Review URL: https://codereview.chromium.org/1177003002.
Diffstat (limited to 'core/include')
-rw-r--r-- | core/include/fpdfdoc/fpdf_doc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/include/fpdfdoc/fpdf_doc.h b/core/include/fpdfdoc/fpdf_doc.h index 3c4820aa2b..be1bcd90e3 100644 --- a/core/include/fpdfdoc/fpdf_doc.h +++ b/core/include/fpdfdoc/fpdf_doc.h @@ -565,6 +565,8 @@ class CPDF_Annot : public CFX_PrivateData CPDF_AnnotList* const m_pList; + const CFX_ByteString m_sSubtype; + CFX_MapPtrToPtr m_APMap; }; |