Index: Source/core/css/resolver/MatchedPropertiesCache.cpp |
diff --git a/Source/core/css/resolver/MatchedPropertiesCache.cpp b/Source/core/css/resolver/MatchedPropertiesCache.cpp |
index 86c4c7345cb9a385e238a4abbea4f42fec215ed4..d3c222a1f1ebd376142c9127f55921f6945042c6 100644 |
--- a/Source/core/css/resolver/MatchedPropertiesCache.cpp |
+++ b/Source/core/css/resolver/MatchedPropertiesCache.cpp |
@@ -154,12 +154,6 @@ bool MatchedPropertiesCache::isCacheable(const Element* element, const RenderSty |
// The cache assumes static knowledge about which properties are inherited. |
if (parentStyle->hasExplicitlyInheritedProperties()) |
return false; |
- if (RuntimeEnabledFeatures::webAnimationsEnabled()) { |
- if (style->transitions() && !style->transitions()->isEmpty()) |
- return false; |
- if (style->animations() && !style->animations()->isEmpty()) |
- return false; |
- } |
return true; |
} |