diff options
Diffstat (limited to 'xfa/fde/css/cfde_cssrulecollection.h')
-rw-r--r-- | xfa/fde/css/cfde_cssrulecollection.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/xfa/fde/css/cfde_cssrulecollection.h b/xfa/fde/css/cfde_cssrulecollection.h index 75e232abaa..87677457e4 100644 --- a/xfa/fde/css/cfde_cssrulecollection.h +++ b/xfa/fde/css/cfde_cssrulecollection.h @@ -32,8 +32,7 @@ class CFDE_CSSRuleCollection { CFDE_CSSRuleCollection(); ~CFDE_CSSRuleCollection(); - void AddRulesFrom(const CFX_ArrayTemplate<CFDE_CSSStyleSheet*>& sheets, - CFGAS_FontMgr* pFontMgr); + void AddRulesFrom(const CFDE_CSSStyleSheet* sheet, CFGAS_FontMgr* pFontMgr); void Clear(); int32_t CountSelectors() const { return m_iSelectors; } @@ -55,8 +54,8 @@ class CFDE_CSSRuleCollection { Data* GetUniversalRuleData() { return m_pUniversalRules; } Data* GetPseudoRuleData() { return m_pPseudoRules; } - protected: - void AddRulesFrom(CFDE_CSSStyleSheet* pStyleSheet, + private: + void AddRulesFrom(const CFDE_CSSStyleSheet* pStyleSheet, CFDE_CSSStyleRule* pRule, CFGAS_FontMgr* pFontMgr); void AddRuleTo(std::map<uint32_t, Data*>* pMap, |