diff options
author | Lei Zhang <thestig@chromium.org> | 2018-09-15 04:31:10 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-09-15 04:31:10 +0000 |
commit | 649bc02a2e2ab886733d7461ece89b4153a01d5f (patch) | |
tree | d9c5afedf1dc7267cc1d52bf3b53c32e25b424a1 /xfa | |
parent | 0a815ae46f53330b69c585c708a4ebc5b85ecdb4 (diff) | |
download | pdfium-649bc02a2e2ab886733d7461ece89b4153a01d5f.tar.xz |
Remove FXFM_ENCODING_NONE.
FX_CreateFontEncodingEx() always passes FXFM_ENCODING_NONE. Just get rid
of it instead.
Change-Id: I417f84d8ae2f10ba874265a92576d3ef8481a9d6
Reviewed-on: https://pdfium-review.googlesource.com/42460
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa')
-rw-r--r-- | xfa/fgas/font/cfgas_gefont.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fgas/font/cfgas_gefont.cpp b/xfa/fgas/font/cfgas_gefont.cpp index 45119b7a98..4d5fb9fb59 100644 --- a/xfa/fgas/font/cfgas_gefont.cpp +++ b/xfa/fgas/font/cfgas_gefont.cpp @@ -106,7 +106,7 @@ bool CFGAS_GEFont::InitFont() { if (m_pFontEncoding) return true; - m_pFontEncoding = FX_CreateFontEncodingEx(m_pFont.Get(), FXFM_ENCODING_NONE); + m_pFontEncoding = FX_CreateFontEncodingEx(m_pFont.Get()); return !!m_pFontEncoding; } |