summaryrefslogtreecommitdiff
path: root/xfa
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-09-15 04:31:10 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-09-15 04:31:10 +0000
commit649bc02a2e2ab886733d7461ece89b4153a01d5f (patch)
treed9c5afedf1dc7267cc1d52bf3b53c32e25b424a1 /xfa
parent0a815ae46f53330b69c585c708a4ebc5b85ecdb4 (diff)
downloadpdfium-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.cpp2
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;
}