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/ge/cfx_fontmapper.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'core/fxge/ge/cfx_fontmapper.cpp') diff --git a/core/fxge/ge/cfx_fontmapper.cpp b/core/fxge/ge/cfx_fontmapper.cpp index 27853a0443..9486932f61 100644 --- a/core/fxge/ge/cfx_fontmapper.cpp +++ b/core/fxge/ge/cfx_fontmapper.cpp @@ -689,7 +689,6 @@ FXFT_Face CFX_FontMapper::FindSubstFont(const CFX_ByteString& name, hFont = m_pFontInfo->GetFont(it->name.c_str()); } } - pSubstFont->m_ExtHandle = m_pFontInfo->RetainFont(hFont); if (!hFont) return nullptr; -- cgit v1.2.3