| Index: third_party/WebKit/Source/core/css/ElementRuleCollector.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/ElementRuleCollector.cpp b/third_party/WebKit/Source/core/css/ElementRuleCollector.cpp
|
| index 514e8d8e2129aacb888fce221ca9d7363dd6a1a3..ef1bc2f4ee9c88cece4673713c6a9176823025c9 100644
|
| --- a/third_party/WebKit/Source/core/css/ElementRuleCollector.cpp
|
| +++ b/third_party/WebKit/Source/core/css/ElementRuleCollector.cpp
|
| @@ -153,8 +153,7 @@ void ElementRuleCollector::collectMatchingRulesForList(
|
|
|
| // If the rule has no properties to apply, then ignore it in the non-debug
|
| // mode.
|
| - const StylePropertySet& properties = rule->properties();
|
| - if (properties.isEmpty() && !m_includeEmptyRules)
|
| + if (!rule->shouldConsiderForMatchingRules(m_includeEmptyRules))
|
| continue;
|
|
|
| SelectorChecker::MatchResult result;
|
|
|