Index: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
index 701a69d21356084fa8e36e23d9a353dcd8aa1989..96a165a18e463fa8f0b9fdce47b0b5299946c119 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
@@ -1574,8 +1574,7 @@ void StyleResolver::applyMatchedProperties(StyleResolverState& state, |
1); |
unsigned cacheHash = |
- RuntimeEnabledFeatures::styleMatchedPropertiesCacheEnabled() && |
- matchResult.isCacheable() |
+ matchResult.isCacheable() |
? computeMatchedPropertiesHash(matchResult.matchedProperties().data(), |
matchResult.matchedProperties().size()) |
: 0; |
@@ -1719,7 +1718,6 @@ void StyleResolver::applyMatchedProperties(StyleResolverState& state, |
if (!cachedMatchedProperties && cacheHash && |
MatchedPropertiesCache::isCacheable(state)) { |
- DCHECK(RuntimeEnabledFeatures::styleMatchedPropertiesCacheEnabled()); |
INCREMENT_STYLE_STATS_COUNTER(document().styleEngine(), |
matchedPropertyCacheAdded, 1); |
m_matchedPropertiesCache.add(*state.style(), *state.parentStyle(), |