| Index: Source/core/css/resolver/MatchResult.cpp
|
| diff --git a/Source/core/css/resolver/MatchResult.cpp b/Source/core/css/resolver/MatchResult.cpp
|
| index 933c37e43f0cc8eb9d49d07acfac153ac1897bfa..f61efb393a1d710ac28c755c763487ea0c0105d7 100644
|
| --- a/Source/core/css/resolver/MatchResult.cpp
|
| +++ b/Source/core/css/resolver/MatchResult.cpp
|
| @@ -50,26 +50,11 @@
|
|
|
| void MatchResult::addMatchedProperties(const StylePropertySet* properties, unsigned linkMatchType, PropertyWhitelistType propertyWhitelistType)
|
| {
|
| - m_matchedProperties.grow(m_matchedProperties.size() + 1);
|
| - MatchedProperties& newProperties = m_matchedProperties.last();
|
| + matchedProperties.grow(matchedProperties.size() + 1);
|
| + MatchedProperties& newProperties = matchedProperties.last();
|
| newProperties.properties = const_cast<StylePropertySet*>(properties);
|
| newProperties.m_types.linkMatchType = linkMatchType;
|
| newProperties.m_types.whitelistType = propertyWhitelistType;
|
| }
|
|
|
| -void MatchResult::finishAddingUARules()
|
| -{
|
| - m_uaRangeEnd = m_matchedProperties.size();
|
| -}
|
| -
|
| -void MatchResult::finishAddingAuthorRulesForTreeScope()
|
| -{
|
| - // Don't add empty ranges.
|
| - if (m_authorRangeEnds.isEmpty() && m_uaRangeEnd == m_matchedProperties.size())
|
| - return;
|
| - if (!m_authorRangeEnds.isEmpty() && m_authorRangeEnds.last() == m_matchedProperties.size())
|
| - return;
|
| - m_authorRangeEnds.append(m_matchedProperties.size());
|
| -}
|
| -
|
| } // namespace blink
|
|
|