| Index: Source/core/css/StyleInvalidationAnalysis.cpp
|
| diff --git a/Source/core/css/StyleInvalidationAnalysis.cpp b/Source/core/css/StyleInvalidationAnalysis.cpp
|
| index 47ce49a8d75233c699c9640f27bd316cc4b5d999..25773727488932191beb2393db87b70b0bce28c0 100644
|
| --- a/Source/core/css/StyleInvalidationAnalysis.cpp
|
| +++ b/Source/core/css/StyleInvalidationAnalysis.cpp
|
| @@ -44,7 +44,7 @@ StyleInvalidationAnalysis::StyleInvalidationAnalysis(const Vector<StyleSheetCont
|
| analyzeStyleSheet(sheets[i]);
|
| }
|
|
|
| -static bool determineSelectorScopes(const CSSSelectorList& selectorList, HashSet<AtomicStringImpl*>& idScopes, HashSet<AtomicStringImpl*>& classScopes)
|
| +static bool determineSelectorScopes(const CSSSelectorList& selectorList, HashSet<StringImpl*>& idScopes, HashSet<StringImpl*>& classScopes)
|
| {
|
| for (const CSSSelector* selector = selectorList.first(); selector; selector = CSSSelectorList::next(selector)) {
|
| const CSSSelector* scopeSelector = 0;
|
| @@ -141,7 +141,7 @@ void StyleInvalidationAnalysis::analyzeStyleSheet(StyleSheetContents* styleSheet
|
| }
|
| }
|
|
|
| -static bool elementMatchesSelectorScopes(const Element* element, const HashSet<AtomicStringImpl*>& idScopes, const HashSet<AtomicStringImpl*>& classScopes)
|
| +static bool elementMatchesSelectorScopes(const Element* element, const HashSet<StringImpl*>& idScopes, const HashSet<StringImpl*>& classScopes)
|
| {
|
| if (!idScopes.isEmpty() && element->hasID() && idScopes.contains(element->idForStyleResolution().impl()))
|
| return true;
|
|
|