Index: sky/engine/core/css/resolver/MatchResult.cpp |
diff --git a/sky/engine/core/css/resolver/MatchResult.cpp b/sky/engine/core/css/resolver/MatchResult.cpp |
index 1abed72a18a5e96ab20447ecd90739d04d4fd774..2432b0ff995ee9165cd4ba81eff32a2b00f6c842 100644 |
--- a/sky/engine/core/css/resolver/MatchResult.cpp |
+++ b/sky/engine/core/css/resolver/MatchResult.cpp |
@@ -34,19 +34,10 @@ |
namespace blink { |
-MatchedProperties::MatchedProperties() |
-{ |
-} |
- |
-MatchedProperties::~MatchedProperties() |
-{ |
-} |
- |
void MatchResult::addMatchedProperties(const StylePropertySet* properties) |
{ |
matchedProperties.grow(matchedProperties.size() + 1); |
- MatchedProperties& newProperties = matchedProperties.last(); |
- newProperties.properties = const_cast<StylePropertySet*>(properties); |
+ matchedProperties.last() = const_cast<StylePropertySet*>(properties); |
} |
} // namespace blink |