summaryrefslogtreecommitdiff
path: root/core/fxge/include
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-08-16 15:37:20 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-16 15:37:21 -0700
commitb88b8e47fd7adc14c7aff048c0def0579bdd22dd (patch)
tree50fe31941f6ff8cefa1d6b7eda3834f1f0c34a27 /core/fxge/include
parent09213860d9d9e9a88132cf69e60bb9af513fc1fa (diff)
downloadpdfium-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.h1
-rw-r--r--core/fxge/include/ifx_systemfontinfo.h1
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_