Index: Source/core/rendering/RenderBoxModelObject.h |
diff --git a/Source/core/rendering/RenderBoxModelObject.h b/Source/core/rendering/RenderBoxModelObject.h |
index 9eb4384f4d0e099bac3a7f274093e73c103c76ab..fb5a1c3db2ea8eb35bb268dee2eccee2de800f3c 100644 |
--- a/Source/core/rendering/RenderBoxModelObject.h |
+++ b/Source/core/rendering/RenderBoxModelObject.h |
@@ -24,6 +24,7 @@ |
#ifndef RenderBoxModelObject_h |
#define RenderBoxModelObject_h |
+#include "core/animation/ActiveAnimations.h" |
#include "core/rendering/RenderLayerModelObject.h" |
#include "core/rendering/style/ShadowData.h" |
#include "platform/geometry/LayoutRect.h" |
@@ -89,7 +90,7 @@ public: |
virtual LayerType layerTypeRequired() const OVERRIDE |
{ |
- if (isRoot() || isPositioned() || createsGroup() || hasClipPath() || hasTransform() || hasHiddenBackface() || hasReflection() || style()->specifiesColumns() || style()->hasWillChangeCompositingHint() || style()->hasWillChangeGpuRasterizationHint()) |
+ if (isRoot() || isPositioned() || createsGroup() || hasClipPath() || hasTransform() || hasHiddenBackface() || hasReflection() || style()->specifiesColumns() || style()->hasWillChangeCompositingHint() || style()->hasWillChangeGpuRasterizationHint() || shouldCompositeForActiveAnimations(*this)) |
return NormalLayer; |
return NoLayer; |