Index: xfa/fgas/font/fgas_stdfontmgr.h |
diff --git a/xfa/fgas/font/fgas_stdfontmgr.h b/xfa/fgas/font/fgas_stdfontmgr.h |
index b20c942a36dee17d7b6d47efae1a2262e5f10803..11d91fc7f5e99ae3b51e64d1d5854552e6350bd2 100644 |
--- a/xfa/fgas/font/fgas_stdfontmgr.h |
+++ b/xfa/fgas/font/fgas_stdfontmgr.h |
@@ -24,7 +24,7 @@ class CFGAS_StdFontMgrImp : public IFGAS_FontMgr { |
~CFGAS_StdFontMgrImp() override; |
// IFGAS_FontMgr: |
- void Release() override { delete this; } |
+ void Release() override; |
CFGAS_GEFont* GetDefFontByCodePage( |
uint16_t wCodePage, |
uint32_t dwFontStyles, |
@@ -65,7 +65,6 @@ class CFGAS_StdFontMgrImp : public IFGAS_FontMgr { |
uint16_t wCodePage, |
uint32_t dwUSB = 999, |
FX_WCHAR wUnicode = 0); |
- CFGAS_GEFont* GetFont(FX_FONTDESCRIPTOR const* pFD, uint32_t dwFontStyles); |
FX_LPEnumAllFonts m_pEnumerator; |
CFX_FontDescriptors m_FontFaces; |