| Index: Source/core/css/ElementRuleCollector.cpp
|
| diff --git a/Source/core/css/ElementRuleCollector.cpp b/Source/core/css/ElementRuleCollector.cpp
|
| index 1168c87613d667ce06de7e77f90bc0cb1ea33929..162a4c2ce8b1d7a160aae793c4b393f4a68c2332 100644
|
| --- a/Source/core/css/ElementRuleCollector.cpp
|
| +++ b/Source/core/css/ElementRuleCollector.cpp
|
| @@ -110,7 +110,7 @@ void ElementRuleCollector::addElementStyleProperties(const StylePropertySet* pro
|
| return;
|
| m_result.addMatchedProperties(propertySet);
|
| if (!isCacheable)
|
| - m_result.isCacheable = false;
|
| + m_result.setIsCacheable(false);
|
| }
|
|
|
| static bool rulesApplicableInCurrentTreeScope(const Element* element, const ContainerNode* scopingNode, bool matchingTreeBoundaryRules)
|
| @@ -293,9 +293,6 @@ void ElementRuleCollector::sortAndTransferMatchedRules()
|
| const RuleData* ruleData = m_matchedRules[i].ruleData();
|
| m_result.addMatchedProperties(&ruleData->rule()->properties(), ruleData->linkMatchType(), ruleData->propertyWhitelistType(m_matchingUARules));
|
| }
|
| -
|
| - if (m_matchingUARules)
|
| - m_result.uaEnd = m_result.matchedProperties.size();
|
| }
|
|
|
| void ElementRuleCollector::didMatchRule(const RuleData& ruleData, const SelectorChecker::MatchResult& result, CascadeOrder cascadeOrder, const MatchRequest& matchRequest)
|
|
|