diff options
author | Lei Zhang <thestig@chromium.org> | 2015-06-10 13:18:06 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-06-10 13:18:06 -0700 |
commit | b3aa96cbee31e81d0a72a61027467a2713654499 (patch) | |
tree | 6835a91ba2e959e3428ba08bf5464ca671e5da72 /core/include/fpdfapi | |
parent | 35c3163d55bebea8095474181f807ddfb2f4f806 (diff) | |
download | pdfium-b3aa96cbee31e81d0a72a61027467a2713654499.tar.xz |
Convert CPDF_PatternMap to std::map.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1162123004.
Diffstat (limited to 'core/include/fpdfapi')
-rw-r--r-- | core/include/fpdfapi/fpdf_resource.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/include/fpdfapi/fpdf_resource.h b/core/include/fpdfapi/fpdf_resource.h index 60a93e1832..cd190b9d30 100644 --- a/core/include/fpdfapi/fpdf_resource.h +++ b/core/include/fpdfapi/fpdf_resource.h @@ -43,14 +43,13 @@ public: ObjClass m_Obj; FX_DWORD m_nCount; }; -typedef CPDF_CountedObject<CPDF_Pattern*> CPDF_CountedPattern; typedef CPDF_CountedObject<CPDF_Image*> CPDF_CountedImage; typedef CPDF_CountedObject<CPDF_IccProfile*> CPDF_CountedICCProfile; typedef CPDF_CountedObject<CPDF_StreamAcc*> CPDF_CountedStreamAcc; using CPDF_CountedColorSpace = CPDF_CountedObject<CPDF_ColorSpace*>; +using CPDF_CountedPattern = CPDF_CountedObject<CPDF_Pattern*>; -typedef CFX_MapPtrTemplate<CPDF_Object*, CPDF_CountedPattern*> CPDF_PatternMap; typedef CFX_MapPtrTemplate<FX_DWORD, CPDF_CountedImage*> CPDF_ImageMap; typedef CFX_MapPtrTemplate<CPDF_Stream*, CPDF_CountedICCProfile*> CPDF_IccProfileMap; typedef CFX_MapPtrTemplate<CPDF_Stream*, CPDF_CountedStreamAcc*> CPDF_FontFileMap; |