| Index: Source/core/css/InspectorCSSOMWrappers.h
|
| diff --git a/Source/core/css/InspectorCSSOMWrappers.h b/Source/core/css/InspectorCSSOMWrappers.h
|
| index f97eea423e90d40d39261b5780fd1d38d90ded3d..fda87899fe7f74e5fd0c26201d788edbeda64feb 100644
|
| --- a/Source/core/css/InspectorCSSOMWrappers.h
|
| +++ b/Source/core/css/InspectorCSSOMWrappers.h
|
| @@ -33,14 +33,14 @@ namespace WebCore {
|
| class CSSStyleRule;
|
| class CSSStyleSheet;
|
| class StyleRule;
|
| -class StyleSheetCollections;
|
| +class StyleEngine;
|
| class StyleSheetContents;
|
|
|
| class InspectorCSSOMWrappers {
|
| public:
|
| // WARNING. This will construct CSSOM wrappers for all style rules and cache them in a map for significant memory cost.
|
| // It is here to support inspector. Don't use for any regular engine functions.
|
| - CSSStyleRule* getWrapperForRuleInSheets(StyleRule*, StyleSheetCollections*);
|
| + CSSStyleRule* getWrapperForRuleInSheets(StyleRule*, StyleEngine*);
|
| void collectFromStyleSheetIfNeeded(CSSStyleSheet*);
|
| void reset();
|
|
|
| @@ -50,7 +50,7 @@ private:
|
|
|
| void collectFromStyleSheetContents(HashSet<RefPtr<CSSStyleSheet> >& sheetWrapperSet, StyleSheetContents*);
|
| void collectFromStyleSheets(const Vector<RefPtr<CSSStyleSheet> >&);
|
| - void collectFromStyleSheetCollections(StyleSheetCollections*);
|
| + void collectFromStyleEngine(StyleEngine*);
|
|
|
| HashMap<StyleRule*, RefPtr<CSSStyleRule> > m_styleRuleToCSSOMWrapperMap;
|
| HashSet<RefPtr<CSSStyleSheet> > m_styleSheetCSSOMWrapperSet;
|
|
|