diff options
author | npm <npm@chromium.org> | 2016-08-16 15:37:20 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-16 15:37:21 -0700 |
commit | b88b8e47fd7adc14c7aff048c0def0579bdd22dd (patch) | |
tree | 50fe31941f6ff8cefa1d6b7eda3834f1f0c34a27 /core/fxge/include | |
parent | 09213860d9d9e9a88132cf69e60bb9af513fc1fa (diff) | |
download | pdfium-b88b8e47fd7adc14c7aff048c0def0579bdd22dd.tar.xz |
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
Diffstat (limited to 'core/fxge/include')
-rw-r--r-- | core/fxge/include/fx_font.h | 1 | ||||
-rw-r--r-- | core/fxge/include/ifx_systemfontinfo.h | 1 |
2 files changed, 0 insertions, 2 deletions
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_ |