summaryrefslogtreecommitdiff
path: root/core/src/fpdfapi/fpdf_page/pageint.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-06-10 13:18:06 -0700
committerLei Zhang <thestig@chromium.org>2015-06-10 13:18:06 -0700
commitb3aa96cbee31e81d0a72a61027467a2713654499 (patch)
tree6835a91ba2e959e3428ba08bf5464ca671e5da72 /core/src/fpdfapi/fpdf_page/pageint.h
parent35c3163d55bebea8095474181f807ddfb2f4f806 (diff)
downloadpdfium-b3aa96cbee31e81d0a72a61027467a2713654499.tar.xz
Convert CPDF_PatternMap to std::map.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1162123004.
Diffstat (limited to 'core/src/fpdfapi/fpdf_page/pageint.h')
-rw-r--r--core/src/fpdfapi/fpdf_page/pageint.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/fpdfapi/fpdf_page/pageint.h b/core/src/fpdfapi/fpdf_page/pageint.h
index e994576da5..2855969e46 100644
--- a/core/src/fpdfapi/fpdf_page/pageint.h
+++ b/core/src/fpdfapi/fpdf_page/pageint.h
@@ -388,7 +388,6 @@ class CPDF_DocPageData
CPDF_CountedPattern* FindPatternPtr(CPDF_Object* pPatternObj) const;
CPDF_Document* m_pPDFDoc;
- CPDF_PatternMap m_PatternMap;
CPDF_ImageMap m_ImageMap;
CPDF_IccProfileMap m_IccProfileMap;
CFX_MapByteStringToPtr m_HashProfileMap;
@@ -400,9 +399,11 @@ class CPDF_DocPageData
using CPDF_ColorSpaceMap = std::map<CPDF_Object*, CPDF_CountedColorSpace*>;
using CPDF_FontMap = std::map<CPDF_Dictionary*, CPDF_CountedFont*>;
+ using CPDF_PatternMap = std::map<CPDF_Object*, CPDF_CountedPattern*>;
CPDF_ColorSpaceMap m_ColorSpaceMap;
CPDF_FontMap m_FontMap;
+ CPDF_PatternMap m_PatternMap;
};
class CPDF_Function