From cdc1369969ebbc3a85670686490975be835efd19 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Wed, 6 Apr 2016 14:02:05 -0700 Subject: Remove IFX_FontEnumerator Interface is never implemented. BUG=pdfium:468 Review URL: https://codereview.chromium.org/1864893003 --- core/fxge/win32/fx_win32_device.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'core/fxge/win32') diff --git a/core/fxge/win32/fx_win32_device.cpp b/core/fxge/win32/fx_win32_device.cpp index f83ac3277c..7b8a4faa55 100644 --- a/core/fxge/win32/fx_win32_device.cpp +++ b/core/fxge/win32/fx_win32_device.cpp @@ -147,9 +147,6 @@ static int CALLBACK FontEnumProc(const LOGFONTA* plf, uint32_t FontType, LPARAM lParam) { CFX_Win32FontInfo* pFontInfo = (CFX_Win32FontInfo*)lParam; - if (pFontInfo->m_pMapper->GetFontEnumerator()) { - pFontInfo->m_pMapper->GetFontEnumerator()->HitFont(); - } pFontInfo->AddInstalledFont(plf, FontType); return 1; } @@ -162,9 +159,6 @@ FX_BOOL CFX_Win32FontInfo::EnumFontList(CFX_FontMapper* pMapper) { lf.lfPitchAndFamily = 0; EnumFontFamiliesExA(m_hDC, &lf, (FONTENUMPROCA)FontEnumProc, (uintptr_t) this, 0); - if (pMapper->GetFontEnumerator()) { - pMapper->GetFontEnumerator()->Finish(); - } return TRUE; } static const struct { -- cgit v1.2.3