From 60e903c33480ab0baf0faff9c848bc8992180454 Mon Sep 17 00:00:00 2001 From: npm Date: Tue, 20 Sep 2016 14:04:11 -0700 Subject: Change protected to private in CPDF_CID2UnicodeMap and CPDF_ToUnicodeMap Review-Url: https://codereview.chromium.org/2356603003 --- core/fpdfapi/fpdf_font/font_int.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'core/fpdfapi/fpdf_font') diff --git a/core/fpdfapi/fpdf_font/font_int.h b/core/fpdfapi/fpdf_font/font_int.h index 26415b1013..512fb6c474 100644 --- a/core/fpdfapi/fpdf_font/font_int.h +++ b/core/fpdfapi/fpdf_font/font_int.h @@ -173,7 +173,7 @@ class CPDF_CID2UnicodeMap { void Load(CPDF_CMapManager* pMgr, CIDSet charset, FX_BOOL bPromptCJK); FX_WCHAR UnicodeFromCID(uint16_t CID); - protected: + private: CIDSet m_Charset; const uint16_t* m_pEmbeddedMap; uint32_t m_EmbeddedCount; @@ -189,17 +189,16 @@ class CPDF_ToUnicodeMap { CFX_WideString Lookup(uint32_t charcode) const; uint32_t ReverseLookup(FX_WCHAR unicode) const; - protected: - std::map m_Map; - CPDF_CID2UnicodeMap* m_pBaseMap; - CFX_WideTextBuf m_MultiCharBuf; - private: friend class fpdf_font_StringToCode_Test; friend class fpdf_font_StringToWideString_Test; static uint32_t StringToCode(const CFX_ByteStringC& str); static CFX_WideString StringToWideString(const CFX_ByteStringC& str); + + std::map m_Map; + CPDF_CID2UnicodeMap* m_pBaseMap; + CFX_WideTextBuf m_MultiCharBuf; }; #endif // CORE_FPDFAPI_FPDF_FONT_FONT_INT_H_ -- cgit v1.2.3