diff options
author | Lei Zhang <thestig@chromium.org> | 2015-06-10 13:29:24 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-06-10 13:29:24 -0700 |
commit | 7b2897c47245f04c806cfa8cee09458e31ba3777 (patch) | |
tree | 5865605071623e1d3be54015790a0584bbd4974d /core/include | |
parent | b3aa96cbee31e81d0a72a61027467a2713654499 (diff) | |
download | pdfium-7b2897c47245f04c806cfa8cee09458e31ba3777.tar.xz |
Cache the CPDF_Annot's subtype, since it should never changes.
BUG=495300
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1178513002.
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 b46579ac88..67b799d06e 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; }; |