summaryrefslogtreecommitdiff
path: root/core/fxge/ge/fx_ge_fontmap.cpp
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/ge/fx_ge_fontmap.cpp
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/ge/fx_ge_fontmap.cpp')
-rw-r--r--core/fxge/ge/fx_ge_fontmap.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/fxge/ge/fx_ge_fontmap.cpp b/core/fxge/ge/fx_ge_fontmap.cpp
index 408f1e2689..6de364788b 100644
--- a/core/fxge/ge/fx_ge_fontmap.cpp
+++ b/core/fxge/ge/fx_ge_fontmap.cpp
@@ -8,7 +8,6 @@
#include "core/fxge/include/ifx_systemfontinfo.h"
CFX_SubstFont::CFX_SubstFont() {
- m_ExtHandle = nullptr;
m_Charset = FXFONT_ANSI_CHARSET;
m_SubstFlags = 0;
m_Weight = 0;
@@ -109,10 +108,6 @@ int IFX_SystemFontInfo::GetFaceIndex(void* hFont) {
return 0;
}
-void* IFX_SystemFontInfo::RetainFont(void* hFont) {
- return nullptr;
-}
-
extern "C" {
unsigned long _FTStreamRead(FXFT_Stream stream,
unsigned long offset,