diff options
author | dsinclair <dsinclair@chromium.org> | 2016-04-06 14:02:05 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-06 14:02:05 -0700 |
commit | cdc1369969ebbc3a85670686490975be835efd19 (patch) | |
tree | 66e20eaea8a752acc982f7aebb2da8c06c51e298 /core/fxge/win32 | |
parent | 0cf9984a552f53eb59b512ac32a8d3d83c1c04e2 (diff) | |
download | pdfium-cdc1369969ebbc3a85670686490975be835efd19.tar.xz |
Remove IFX_FontEnumerator
Interface is never implemented.
BUG=pdfium:468
Review URL: https://codereview.chromium.org/1864893003
Diffstat (limited to 'core/fxge/win32')
-rw-r--r-- | core/fxge/win32/fx_win32_device.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
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 { |