diff options
author | tsepez <tsepez@chromium.org> | 2016-06-03 16:02:17 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-03 16:02:17 -0700 |
commit | 16e587e9c34d713bb15c853e11891f0cf4d5f140 (patch) | |
tree | fd2460fb421d784a721615ea61c6082a7628ccd6 /xfa/fde/css/fde_cssstyleselector.cpp | |
parent | 8d4e0d47f4cd0325be84ebf310fd8de989761939 (diff) | |
download | pdfium-16e587e9c34d713bb15c853e11891f0cf4d5f140.tar.xz |
Rename IFX_FontMgr to IFGAS_FontMgr
Avoid confusion with CFX_FontMgr, which does not inherit
from IFX_FontMgr, and lives in a different layer of code.
Do the same CFX_ -> CFGAS_ transformation for the concrete
classes that implement IFGAS_FontMgr.
Review-Url: https://codereview.chromium.org/2039463003
Diffstat (limited to 'xfa/fde/css/fde_cssstyleselector.cpp')
-rw-r--r-- | xfa/fde/css/fde_cssstyleselector.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fde/css/fde_cssstyleselector.cpp b/xfa/fde/css/fde_cssstyleselector.cpp index bce8f704b8..c684d0bece 100644 --- a/xfa/fde/css/fde_cssstyleselector.cpp +++ b/xfa/fde/css/fde_cssstyleselector.cpp @@ -105,7 +105,7 @@ void CFDE_CSSRuleCollection::Clear() { } void CFDE_CSSRuleCollection::AddRulesFrom(const CFDE_CSSStyleSheetArray& sheets, uint32_t dwMediaList, - IFX_FontMgr* pFontMgr) { + IFGAS_FontMgr* pFontMgr) { int32_t iSheets = sheets.GetSize(); for (int32_t i = 0; i < iSheets; ++i) { IFDE_CSSStyleSheet* pSheet = sheets.GetAt(i); @@ -120,7 +120,7 @@ void CFDE_CSSRuleCollection::AddRulesFrom(const CFDE_CSSStyleSheetArray& sheets, void CFDE_CSSRuleCollection::AddRulesFrom(IFDE_CSSStyleSheet* pStyleSheet, IFDE_CSSRule* pRule, uint32_t dwMediaList, - IFX_FontMgr* pFontMgr) { + IFGAS_FontMgr* pFontMgr) { switch (pRule->GetType()) { case FDE_CSSRULETYPE_Style: { IFDE_CSSStyleRule* pStyleRule = (IFDE_CSSStyleRule*)pRule; @@ -229,7 +229,7 @@ CFDE_CSSStyleSelector::~CFDE_CSSStyleSelector() { delete m_pAccelerator; } -void CFDE_CSSStyleSelector::SetFontMgr(IFX_FontMgr* pFontMgr) { +void CFDE_CSSStyleSelector::SetFontMgr(IFGAS_FontMgr* pFontMgr) { m_pFontMgr = pFontMgr; } void CFDE_CSSStyleSelector::SetDefFontSize(FX_FLOAT fFontSize) { |