Index: Source/core/css/resolver/MatchResult.cpp |
diff --git a/Source/core/css/resolver/MatchResult.cpp b/Source/core/css/resolver/MatchResult.cpp |
index 70cd2d6d400a71da17917f91f9cd76dec8da0cfa..da90d61b4f08329e5d2588ae3ad6d8d400d6e2de 100644 |
--- a/Source/core/css/resolver/MatchResult.cpp |
+++ b/Source/core/css/resolver/MatchResult.cpp |
@@ -48,14 +48,13 @@ void MatchedProperties::trace(Visitor* visitor) |
visitor->trace(properties); |
} |
-void MatchResult::addMatchedProperties(const StylePropertySet* properties, StyleRule* rule, unsigned linkMatchType, PropertyWhitelistType propertyWhitelistType) |
+void MatchResult::addMatchedProperties(const StylePropertySet* properties, unsigned linkMatchType, PropertyWhitelistType propertyWhitelistType) |
{ |
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; |
- matchedRules.append(rule); |
} |
} // namespace blink |