From b88b8e47fd7adc14c7aff048c0def0579bdd22dd Mon Sep 17 00:00:00 2001 From: npm Date: Tue, 16 Aug 2016 15:37:20 -0700 Subject: Delete m_ExtHandle and RetainFont because they are not being used. CFX_SubstFont::m_ExtHandle is never assigned a value different from nullptr. Similarly, IFX_SystemFontInfo::RetainFont has two implementations. Both of these return nullptr, so this method is not needed. Review-Url: https://codereview.chromium.org/2252833002 --- core/fxge/include/fx_font.h | 1 - core/fxge/include/ifx_systemfontinfo.h | 1 - 2 files changed, 2 deletions(-) (limited to 'core/fxge/include') diff --git a/core/fxge/include/fx_font.h b/core/fxge/include/fx_font.h index 524a540c38..8c7928199b 100644 --- a/core/fxge/include/fx_font.h +++ b/core/fxge/include/fx_font.h @@ -221,7 +221,6 @@ class CFX_SubstFont { public: CFX_SubstFont(); - void* m_ExtHandle; CFX_ByteString m_Family; int m_Charset; uint32_t m_SubstFlags; diff --git a/core/fxge/include/ifx_systemfontinfo.h b/core/fxge/include/ifx_systemfontinfo.h index 9ede09ec26..b5bab6fe31 100644 --- a/core/fxge/include/ifx_systemfontinfo.h +++ b/core/fxge/include/ifx_systemfontinfo.h @@ -44,7 +44,6 @@ class IFX_SystemFontInfo { virtual FX_BOOL GetFontCharset(void* hFont, int& charset) = 0; virtual int GetFaceIndex(void* hFont); virtual void DeleteFont(void* hFont) = 0; - virtual void* RetainFont(void* hFont); }; #endif // CORE_FXGE_INCLUDE_IFX_SYSTEMFONTINFO_H_ -- cgit v1.2.3