summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-09-20 14:04:11 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-20 14:04:11 -0700
commit60e903c33480ab0baf0faff9c848bc8992180454 (patch)
treeabc3de3bb3a9d7b389923c019896cc53d5895e3d
parent785c8d348207937942924d4371aaa137d9ec07de (diff)
downloadpdfium-chromium/2867.tar.xz
Change protected to private in CPDF_CID2UnicodeMap and CPDF_ToUnicodeMapchromium/2867
Review-Url: https://codereview.chromium.org/2356603003
-rw-r--r--core/fpdfapi/fpdf_font/font_int.h11
1 files changed, 5 insertions, 6 deletions
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<uint32_t, uint32_t> 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<uint32_t, uint32_t> m_Map;
+ CPDF_CID2UnicodeMap* m_pBaseMap;
+ CFX_WideTextBuf m_MultiCharBuf;
};
#endif // CORE_FPDFAPI_FPDF_FONT_FONT_INT_H_