Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1170)

Unified Diff: sky/engine/core/css/resolver/MatchResult.cpp

Issue 863883002: Eliminate RuleRange. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/css/resolver/MatchResult.h ('k') | sky/engine/core/css/resolver/MatchedPropertiesCache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « sky/engine/core/css/resolver/MatchResult.h ('k') | sky/engine/core/css/resolver/MatchedPropertiesCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698