Index: core/src/fpdfapi/fpdf_render/render_int.h |
diff --git a/core/src/fpdfapi/fpdf_render/render_int.h b/core/src/fpdfapi/fpdf_render/render_int.h |
index d173f47b7c40bab0fcca4ac53234567a759a7e9b..d348b48dfdf8fc91428bcaf2d3adc8f74265088a 100644 |
--- a/core/src/fpdfapi/fpdf_render/render_int.h |
+++ b/core/src/fpdfapi/fpdf_render/render_int.h |
@@ -21,19 +21,18 @@ class CPDF_QuickStretcher; |
class CPDF_Type3Glyphs { |
public: |
- CPDF_Type3Glyphs() { |
- m_GlyphMap.InitHashTable(253); |
- m_TopBlueCount = m_BottomBlueCount = 0; |
- } |
+ CPDF_Type3Glyphs() : m_TopBlueCount(0), m_BottomBlueCount(0) {} |
~CPDF_Type3Glyphs(); |
- CFX_MapPtrToPtr m_GlyphMap; |
void AdjustBlue(FX_FLOAT top, |
FX_FLOAT bottom, |
int& top_line, |
int& bottom_line); |
- int m_TopBlue[TYPE3_MAX_BLUES], m_BottomBlue[TYPE3_MAX_BLUES]; |
- int m_TopBlueCount, m_BottomBlueCount; |
+ std::map<FX_DWORD, CFX_GlyphBitmap*> m_GlyphMap; |
+ int m_TopBlue[TYPE3_MAX_BLUES]; |
+ int m_BottomBlue[TYPE3_MAX_BLUES]; |
+ int m_TopBlueCount; |
+ int m_BottomBlueCount; |
}; |
class CPDF_Type3Cache { |
public: |