| Index: Source/core/rendering/RenderBox.h
|
| diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h
|
| index 39c943ae12e459a15cbf6659313f31e27731f60c..399e3cf90f89047814d64b25fce9ca1434c637f2 100644
|
| --- a/Source/core/rendering/RenderBox.h
|
| +++ b/Source/core/rendering/RenderBox.h
|
| @@ -23,6 +23,7 @@
|
| #ifndef RenderBox_h
|
| #define RenderBox_h
|
|
|
| +#include "core/animation/ActiveAnimations.h"
|
| #include "core/rendering/RenderBoxModelObject.h"
|
| #include "core/rendering/RenderOverflow.h"
|
| #include "core/rendering/shapes/ShapeOutsideInfo.h"
|
| @@ -71,7 +72,7 @@ public:
|
| // position:static elements that are not flex-items get their z-index coerced to auto.
|
| virtual LayerType layerTypeRequired() const OVERRIDE
|
| {
|
| - if (isRoot() || isPositioned() || createsGroup() || hasClipPath() || hasTransform() || hasHiddenBackface() || hasReflection() || style()->specifiesColumns() || !style()->hasAutoZIndex() || style()->hasWillChangeCompositingHint() || style()->hasWillChangeGpuRasterizationHint())
|
| + if (isRoot() || isPositioned() || createsGroup() || hasClipPath() || hasTransform() || hasHiddenBackface() || hasReflection() || style()->specifiesColumns() || !style()->hasAutoZIndex() || style()->hasWillChangeCompositingHint() || style()->hasWillChangeGpuRasterizationHint() || shouldCompositeForActiveAnimations(*this))
|
| return NormalLayer;
|
| if (hasOverflowClip())
|
| return OverflowClipLayer;
|
|
|