Index: Source/core/rendering/RenderLayerCompositor.cpp |
diff --git a/Source/core/rendering/RenderLayerCompositor.cpp b/Source/core/rendering/RenderLayerCompositor.cpp |
index 4389ddff9aa45d76085b43d38e569318424aea1d..09084ed814cd94e77220d8a4c2544b9a43907d86 100644 |
--- a/Source/core/rendering/RenderLayerCompositor.cpp |
+++ b/Source/core/rendering/RenderLayerCompositor.cpp |
@@ -1709,7 +1709,7 @@ bool RenderLayerCompositor::requiresCompositingForAnimation(RenderObject* render |
if (!(m_compositingTriggers & ChromeClient::AnimationTrigger)) |
return false; |
- if (!RuntimeEnabledFeatures::webAnimationsEnabled()) { |
+ if (!RuntimeEnabledFeatures::webAnimationsCSSEnabled()) { |
// FIXME: Remove this condition once force-compositing-mode is enabled on all platforms. |
bool shouldAccelerateOpacity = inCompositingMode(); |
return renderer->animation().isRunningAcceleratableAnimationOnRenderer(renderer, shouldAccelerateOpacity); |