Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Unified Diff: core/fpdfapi/fpdf_font/font_int.h

Issue 2356603003: Change protected to private in CPDF_CID2UnicodeMap and CPDF_ToUnicodeMap (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fpdfapi/fpdf_font/font_int.h
diff --git a/core/fpdfapi/fpdf_font/font_int.h b/core/fpdfapi/fpdf_font/font_int.h
index e4689bfd744dfb1c909d1579a141785ace6a0373..6174a9cd5807af48312bc8b593627037554fd4a2 100644
--- a/core/fpdfapi/fpdf_font/font_int.h
+++ b/core/fpdfapi/fpdf_font/font_int.h
@@ -178,7 +178,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;
@@ -194,17 +194,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_
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698