summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app/xfa_textlayout.cpp
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-11-11 17:16:23 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-11 17:16:23 -0800
commit8f3eb6051c0465923d6694bd0f0b6dc5bb51cbe3 (patch)
treedf8f721cdf86d0c0cd3a0780bb55ac9a7a58f4f1 /xfa/fxfa/app/xfa_textlayout.cpp
parentc40697b24550182898b30de639790eaf82ebf158 (diff)
downloadpdfium-8f3eb6051c0465923d6694bd0f0b6dc5bb51cbe3.tar.xz
Remove IFGAS_FontMgr and clean up (the renamed) CFGAS_FontMgr a little.
IFGAS_FontMgr is an interface only for a class only defined on Windows, plus a class only defined for non-Windows. I'm removing the interface, renaming the class to have the same name in both cases, and cleaning up a bit of unused methods. Review-Url: https://codereview.chromium.org/2494883002
Diffstat (limited to 'xfa/fxfa/app/xfa_textlayout.cpp')
-rw-r--r--xfa/fxfa/app/xfa_textlayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/app/xfa_textlayout.cpp b/xfa/fxfa/app/xfa_textlayout.cpp
index 291cc5133a..345fc272e3 100644
--- a/xfa/fxfa/app/xfa_textlayout.cpp
+++ b/xfa/fxfa/app/xfa_textlayout.cpp
@@ -94,7 +94,7 @@ void CXFA_TextParser::InitCSSData(CXFA_TextProvider* pTextProvider) {
if (!m_pSelector) {
CXFA_FFDoc* pDoc = pTextProvider->GetDocNode();
- IFGAS_FontMgr* pFontMgr = pDoc->GetApp()->GetFDEFontMgr();
+ CFGAS_FontMgr* pFontMgr = pDoc->GetApp()->GetFDEFontMgr();
ASSERT(pFontMgr);
m_pSelector.reset(new CFDE_CSSStyleSelector(pFontMgr));
FX_FLOAT fFontSize = 10;