| Index: Source/core/css/RuleSet.cpp
|
| diff --git a/Source/core/css/RuleSet.cpp b/Source/core/css/RuleSet.cpp
|
| index 2ffda78c0c6b383e914e434ce39743c7f0a64836..87fd2dc3ea764391058277c04667ab67d5e39acd 100644
|
| --- a/Source/core/css/RuleSet.cpp
|
| +++ b/Source/core/css/RuleSet.cpp
|
| @@ -359,7 +359,7 @@ void RuleSet::addChildRules(const Vector<RefPtr<StyleRuleBase> >& rules, const M
|
| StyleRule* styleRule = static_cast<StyleRule*>(rule);
|
|
|
| const CSSSelectorList& selectorList = styleRule->selectorList();
|
| - for (size_t selectorIndex = 0; selectorIndex != notFound; selectorIndex = selectorList.indexOfNextSelectorAfter(selectorIndex)) {
|
| + for (size_t selectorIndex = 0; selectorIndex != kNotFound; selectorIndex = selectorList.indexOfNextSelectorAfter(selectorIndex)) {
|
| if (selectorList.hasShadowDistributedAt(selectorIndex)) {
|
| if (isDocumentScope(scope))
|
| continue;
|
| @@ -423,7 +423,7 @@ void RuleSet::addRulesFromSheet(StyleSheetContents* sheet, const MediaQueryEvalu
|
|
|
| void RuleSet::addStyleRule(StyleRule* rule, AddRuleFlags addRuleFlags)
|
| {
|
| - for (size_t selectorIndex = 0; selectorIndex != notFound; selectorIndex = rule->selectorList().indexOfNextSelectorAfter(selectorIndex))
|
| + for (size_t selectorIndex = 0; selectorIndex != kNotFound; selectorIndex = rule->selectorList().indexOfNextSelectorAfter(selectorIndex))
|
| addRule(rule, selectorIndex, addRuleFlags);
|
| }
|
|
|
|
|