Index: Source/core/rendering/RenderInline.h |
diff --git a/Source/core/rendering/RenderInline.h b/Source/core/rendering/RenderInline.h |
index 947492e341531e4557f3a15cd47f633adcd2593a..3c5a1a04538329748759ee90d8d86769d97d17b8 100644 |
--- a/Source/core/rendering/RenderInline.h |
+++ b/Source/core/rendering/RenderInline.h |
@@ -23,6 +23,7 @@ |
#ifndef RenderInline_h |
#define RenderInline_h |
+#include "core/animation/ActiveAnimations.h" |
#include "core/rendering/InlineFlowBox.h" |
#include "core/rendering/RenderBoxModelObject.h" |
#include "core/rendering/RenderLineBoxList.h" |
@@ -135,7 +136,7 @@ private: |
virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) OVERRIDE FINAL; |
- virtual LayerType layerTypeRequired() const OVERRIDE { return isInFlowPositioned() || createsGroup() || hasClipPath() ? NormalLayer : NoLayer; } |
+ virtual LayerType layerTypeRequired() const OVERRIDE { return isInFlowPositioned() || createsGroup() || hasClipPath() || shouldCompositeForActiveAnimations(*this) ? NormalLayer : NoLayer; } |
virtual LayoutUnit offsetLeft() const OVERRIDE FINAL; |
virtual LayoutUnit offsetTop() const OVERRIDE FINAL; |