diff options
author | Lei Zhang <thestig@chromium.org> | 2018-09-14 21:06:26 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-09-14 21:06:26 +0000 |
commit | 5ad314459a3935645d4c1d1447da9c3caf1c4c00 (patch) | |
tree | e60427b7ea58a90ad06ce688bf97904ec74b4e3a /xfa/fgas/font/cfgas_gefont.cpp | |
parent | 65be34f5356ac43b973d41839da9c84f82b9ca17 (diff) | |
download | pdfium-5ad314459a3935645d4c1d1447da9c3caf1c4c00.tar.xz |
Clean up CFGAS_GEFont members.
Remove unused members and initialize the rest in the header.
Change-Id: Ic2122fc1d49024632b9ebd4cb490c14dd0724de6
Reviewed-on: https://pdfium-review.googlesource.com/42491
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fgas/font/cfgas_gefont.cpp')
-rw-r--r-- | xfa/fgas/font/cfgas_gefont.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/xfa/fgas/font/cfgas_gefont.cpp b/xfa/fgas/font/cfgas_gefont.cpp index b5cb7962af..0a57f54cdd 100644 --- a/xfa/fgas/font/cfgas_gefont.cpp +++ b/xfa/fgas/font/cfgas_gefont.cpp @@ -54,14 +54,7 @@ RetainPtr<CFGAS_GEFont> CFGAS_GEFont::LoadFont( return pFont; } -CFGAS_GEFont::CFGAS_GEFont(CFGAS_FontMgr* pFontMgr) - : - m_bUseLogFontStyle(false), - m_dwLogFontStyle(0), - m_pFont(nullptr), - m_bExternalFont(false), - m_pFontMgr(pFontMgr) { -} +CFGAS_GEFont::CFGAS_GEFont(CFGAS_FontMgr* pFontMgr) : m_pFontMgr(pFontMgr) {} CFGAS_GEFont::~CFGAS_GEFont() { if (!m_bExternalFont) |