Index: sky/engine/core/rendering/RenderBox.h |
diff --git a/sky/engine/core/rendering/RenderBox.h b/sky/engine/core/rendering/RenderBox.h |
index 28f25d5cc47bc314239cbd0cc27626ac5b73dc00..8a9125885a70788fa43850cf0b8a29f2e2319422 100644 |
--- a/sky/engine/core/rendering/RenderBox.h |
+++ b/sky/engine/core/rendering/RenderBox.h |
@@ -76,7 +76,7 @@ public: |
// position:static elements that are not flex-items get their z-index coerced to auto. |
virtual LayerType layerTypeRequired() const override |
{ |
- if (isPositioned() || createsGroup() || hasClipPath() || hasTransform() || hasHiddenBackface() || !style()->hasAutoZIndex() || style()->shouldCompositeForCurrentAnimations()) |
+ if (isPositioned() || createsGroup() || hasClipPath() || hasTransform() || hasHiddenBackface() || !style()->hasAutoZIndex()) |
return NormalLayer; |
if (hasOverflowClip()) |
return OverflowClipLayer; |