Index: Source/core/rendering/RenderBoxModelObject.h |
diff --git a/Source/core/rendering/RenderBoxModelObject.h b/Source/core/rendering/RenderBoxModelObject.h |
index 1e5a805decbec2f1790ce68fbfc9687ede974059..8cda5e48633ad578da7cd381e5ad450b4e91d39f 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" |
@@ -88,7 +89,7 @@ public: |
virtual LayerType layerTypeRequired() const OVERRIDE |
{ |
- if (isRoot() || isPositioned() || createsGroup() || hasClipPath() || hasTransform() || hasHiddenBackface() || hasReflection() || style()->specifiesColumns() || style()->hasWillChangeCompositingHint()) |
+ if (isRoot() || isPositioned() || createsGroup() || hasClipPath() || hasTransform() || hasHiddenBackface() || hasReflection() || style()->specifiesColumns() || style()->hasWillChangeCompositingHint() || shouldCompositeForActiveAnimations(*this)) |
return NormalLayer; |
return NoLayer; |