From 72a22025ec4402178cd0b27239bf77cf3a953949 Mon Sep 17 00:00:00 2001 From: tsepez Date: Wed, 14 Dec 2016 20:10:37 -0800 Subject: Remove unused m_OtfFontData. In turn, this makes CFX_BinaryBuf::AttachData() unused. Review-Url: https://codereview.chromium.org/2578793002 --- core/fxge/fx_font.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'core/fxge/fx_font.h') diff --git a/core/fxge/fx_font.h b/core/fxge/fx_font.h index 96396af15e..224720fbc3 100644 --- a/core/fxge/fx_font.h +++ b/core/fxge/fx_font.h @@ -170,9 +170,7 @@ class CFX_Font { static const uint8_t s_WeightPow_SHIFTJIS[kWeightPowArraySize]; #ifdef PDF_ENABLE_XFA - protected: - CFX_BinaryBuf m_OtfFontData; bool m_bShallowCopy; FXFT_StreamRec* m_pOwnedStream; #endif // PDF_ENABLE_XFA @@ -181,13 +179,9 @@ class CFX_Font { friend class CFX_FaceCache; CFX_PathData* LoadGlyphPathImpl(uint32_t glyph_index, int dest_width = 0) const; - - private: CFX_FaceCache* GetFaceCache() const; - void ReleasePlatformResource(); void DeleteFace(); - void ClearFaceCache(); FXFT_Face m_Face; -- cgit v1.2.3