diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-04-03 10:45:14 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-04-03 18:23:45 +0000 |
commit | 044a70da2aeaa5f4c73abfb75e81f79edd9014b8 (patch) | |
tree | 4f2ab673e82199ea36d5ee563e9af87b9728c0b5 | |
parent | c3ddec37aab70e1b59d5ff35b1f0d1964efe288f (diff) | |
download | pdfium-044a70da2aeaa5f4c73abfb75e81f79edd9014b8.tar.xz |
Remove some used-only-once typedefs from CPDF_DocPageData
Change-Id: I8872aae5088fb4f721207106d8f2c863828cd199
Reviewed-on: https://pdfium-review.googlesource.com/3558
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
-rw-r--r-- | core/fpdfapi/page/cpdf_docpagedata.h | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/core/fpdfapi/page/cpdf_docpagedata.h b/core/fpdfapi/page/cpdf_docpagedata.h index 6ce6985e09..d95c3c788d 100644 --- a/core/fpdfapi/page/cpdf_docpagedata.h +++ b/core/fpdfapi/page/cpdf_docpagedata.h @@ -64,15 +64,6 @@ class CPDF_DocPageData { using CPDF_CountedIccProfile = CPDF_CountedObject<CPDF_IccProfile>; using CPDF_CountedStreamAcc = CPDF_CountedObject<CPDF_StreamAcc>; - using CPDF_ColorSpaceMap = - std::map<const CPDF_Object*, CPDF_CountedColorSpace*>; - using CPDF_FontFileMap = std::map<const CPDF_Stream*, CPDF_CountedStreamAcc*>; - using CPDF_FontMap = std::map<const CPDF_Dictionary*, CPDF_CountedFont*>; - using CPDF_IccProfileMap = - std::map<const CPDF_Stream*, CPDF_CountedIccProfile*>; - using CPDF_ImageMap = std::map<uint32_t, CFX_RetainPtr<CPDF_Image>>; - using CPDF_PatternMap = std::map<const CPDF_Object*, CPDF_CountedPattern*>; - CPDF_ColorSpace* GetColorSpaceImpl(CPDF_Object* pCSObj, const CPDF_Dictionary* pResources, std::set<CPDF_Object*>* pVisited); @@ -80,12 +71,12 @@ class CPDF_DocPageData { CPDF_Document* const m_pPDFDoc; bool m_bForceClear; std::map<CFX_ByteString, CPDF_Stream*> m_HashProfileMap; - CPDF_ColorSpaceMap m_ColorSpaceMap; - CPDF_FontFileMap m_FontFileMap; - CPDF_FontMap m_FontMap; - CPDF_IccProfileMap m_IccProfileMap; - CPDF_ImageMap m_ImageMap; - CPDF_PatternMap m_PatternMap; + std::map<const CPDF_Object*, CPDF_CountedColorSpace*> m_ColorSpaceMap; + std::map<const CPDF_Stream*, CPDF_CountedStreamAcc*> m_FontFileMap; + std::map<const CPDF_Dictionary*, CPDF_CountedFont*> m_FontMap; + std::map<const CPDF_Stream*, CPDF_CountedIccProfile*> m_IccProfileMap; + std::map<uint32_t, CFX_RetainPtr<CPDF_Image>> m_ImageMap; + std::map<const CPDF_Object*, CPDF_CountedPattern*> m_PatternMap; }; #endif // CORE_FPDFAPI_PAGE_CPDF_DOCPAGEDATA_H_ |