Index: Source/core/rendering/RenderLayerCompositor.cpp |
diff --git a/Source/core/rendering/RenderLayerCompositor.cpp b/Source/core/rendering/RenderLayerCompositor.cpp |
index 77063e677f3c291aa215bbfc26a5196f87b1b4e0..b2404e275450d3d72b3ef4df8286073b614878bb 100644 |
--- a/Source/core/rendering/RenderLayerCompositor.cpp |
+++ b/Source/core/rendering/RenderLayerCompositor.cpp |
@@ -38,7 +38,6 @@ |
#include "core/frame/Frame.h" |
#include "core/frame/FrameView.h" |
#include "core/frame/Settings.h" |
-#include "core/frame/animation/AnimationController.h" |
#include "core/html/HTMLCanvasElement.h" |
#include "core/html/HTMLIFrameElement.h" |
#include "core/html/HTMLMediaElement.h" |
@@ -413,8 +412,6 @@ void RenderLayerCompositor::updateCompositingLayers() |
if (!m_needsToRecomputeCompositingRequirements && !m_compositing) |
return; |
- AnimationUpdateBlock animationUpdateBlock(m_renderView->frameView()->frame().animation()); |
- |
TemporaryChange<bool> postLayoutChange(m_inPostLayoutUpdate, true); |
bool needCompositingRequirementsUpdate = m_needsToRecomputeCompositingRequirements; |
@@ -1869,9 +1866,6 @@ bool RenderLayerCompositor::requiresCompositingForAnimation(RenderObject* render |
if (!(m_compositingTriggers & ChromeClient::AnimationTrigger)) |
return false; |
- if (!RuntimeEnabledFeatures::webAnimationsCSSEnabled()) |
- return renderer->animation().isRunningAcceleratableAnimationOnRenderer(renderer); |
- |
return shouldCompositeForActiveAnimations(*renderer); |
} |
@@ -2086,8 +2080,6 @@ bool RenderLayerCompositor::isRunningAcceleratedTransformAnimation(RenderObject* |
{ |
if (!(m_compositingTriggers & ChromeClient::AnimationTrigger)) |
return false; |
- if (!RuntimeEnabledFeatures::webAnimationsCSSEnabled()) |
- return renderer->animation().isRunningAnimationOnRenderer(renderer, CSSPropertyWebkitTransform); |
return hasActiveAnimations(*renderer, CSSPropertyWebkitTransform); |
} |