summaryrefslogtreecommitdiff
path: root/xfa/fgas/font/cfgas_fontmgr.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-02-16 17:57:57 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-16 17:57:57 +0000
commit818632b0bb2f94bfba4acb518b6e08d20eda4b17 (patch)
tree62ec9d304d1e41454073e95b78382f63a855b976 /xfa/fgas/font/cfgas_fontmgr.h
parentfcc9eb3a7c60fab1205ab5b6fb4fcccb1efb3892 (diff)
downloadpdfium-818632b0bb2f94bfba4acb518b6e08d20eda4b17.tar.xz
m_pEnumerator only ever has one value, indirection not needed.
Change-Id: Ic1d63e8ef54a820b01d67dbf1dd6f6f72a06b77c Reviewed-on: https://pdfium-review.googlesource.com/26990 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fgas/font/cfgas_fontmgr.h')
-rw-r--r--xfa/fgas/font/cfgas_fontmgr.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/xfa/fgas/font/cfgas_fontmgr.h b/xfa/fgas/font/cfgas_fontmgr.h
index 445b318a26..210b5643bb 100644
--- a/xfa/fgas/font/cfgas_fontmgr.h
+++ b/xfa/fgas/font/cfgas_fontmgr.h
@@ -63,10 +63,6 @@ inline bool operator==(const FX_FONTDESCRIPTOR& left,
wcscmp(left.wsFontFace, right.wsFontFace) == 0;
}
-typedef void (*FX_LPEnumAllFonts)(std::deque<FX_FONTDESCRIPTOR>* fonts,
- const wchar_t* pwsFaceName,
- wchar_t wUnicode);
-
#else // _FX_PLATFORM_ == _FX_PLATFORM_WINDOWS_
class CFX_FontDescriptor {
@@ -153,7 +149,6 @@ class CFGAS_FontMgr : public Observable<CFGAS_FontMgr> {
uint32_t dwUSB,
wchar_t wUnicode);
- FX_LPEnumAllFonts m_pEnumerator;
std::deque<FX_FONTDESCRIPTOR> m_FontFaces;
#else // _FX_PLATFORM_ == _FX_PLATFORM_WINDOWS_
bool EnumFontsFromFontMapper();