From 959c2bebde7f46b194f0f83ba5626cb982213638 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 21 Sep 2017 10:13:40 -0400 Subject: Rename CXFA_DefFontMgr to CFGAS_DefaultFontManager This CL removes any XFA requirements on the default font manager and moves it to the fgas/ directory. Some helper methods from CXFA_FontMgr are moved into the fgas/fgas_fontutils.h files. Change-Id: I17ba8dc2bd60085c17d8a3328f6625675a82787f Reviewed-on: https://pdfium-review.googlesource.com/14570 Reviewed-by: Henrique Nakashima Commit-Queue: dsinclair --- xfa/fxfa/cxfa_ffapp.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xfa/fxfa/cxfa_ffapp.cpp') diff --git a/xfa/fxfa/cxfa_ffapp.cpp b/xfa/fxfa/cxfa_ffapp.cpp index 6c14a981db..86346e12a3 100644 --- a/xfa/fxfa/cxfa_ffapp.cpp +++ b/xfa/fxfa/cxfa_ffapp.cpp @@ -49,7 +49,8 @@ std::unique_ptr CXFA_FFApp::CreateDoc( return pDoc; } -void CXFA_FFApp::SetDefaultFontMgr(std::unique_ptr pFontMgr) { +void CXFA_FFApp::SetDefaultFontMgr( + std::unique_ptr pFontMgr) { if (!m_pFontMgr) m_pFontMgr = pdfium::MakeUnique(); m_pFontMgr->SetDefFontMgr(std::move(pFontMgr)); -- cgit v1.2.3