Index: xfa/src/fxfa/src/app/xfa_fontmgr.h |
diff --git a/xfa/src/fxfa/src/app/xfa_fontmgr.h b/xfa/src/fxfa/src/app/xfa_fontmgr.h |
index 09e0d19096b0da8a2c217ea025475a85552efa5b..fd65570115fcd576c143adc336090ea3f40437ae 100644 |
--- a/xfa/src/fxfa/src/app/xfa_fontmgr.h |
+++ b/xfa/src/fxfa/src/app/xfa_fontmgr.h |
@@ -17,11 +17,7 @@ class CXFA_DefFontMgr : public IXFA_FontMgr |
{ |
public: |
CXFA_DefFontMgr() {} |
- virtual ~CXFA_DefFontMgr(); |
- virtual void Release() |
- { |
- delete this; |
- } |
+ ~CXFA_DefFontMgr() override; |
virtual IFX_Font* GetFont(XFA_HDOC hDoc, FX_WSTR wsFontFamily, FX_DWORD dwFontStyles, FX_WORD wCodePage = 0xFFFF); |
virtual IFX_Font* GetDefaultFont(XFA_HDOC hDoc, FX_WSTR wsFontFamily, FX_DWORD dwFontStyles, FX_WORD wCodePage = 0xFFFF); |
protected: |