| 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 eef0b9dd260cad67c7e39eb60941a4a2782faf6f..0ff615a97617f371cb259b6efaaa5c59bc01c437 100644
|
| --- a/third_party/WebKit/Source/core/css/ElementRuleCollector.cpp
|
| +++ b/third_party/WebKit/Source/core/css/ElementRuleCollector.cpp
|
| @@ -148,8 +148,7 @@ void ElementRuleCollector::collectMatchingRulesForList(const RuleDataListType* r
|
| StyleRule* rule = ruleData.rule();
|
|
|
| // 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;
|
|
|