| Index: Source/core/rendering/RenderBox.h
|
| diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h
|
| index 1b6ad9db06222269a7a77e1647ef28e2a1b8830e..e75a018b042c0609eef9ec69c162954621f15209 100644
|
| --- a/Source/core/rendering/RenderBox.h
|
| +++ b/Source/core/rendering/RenderBox.h
|
| @@ -76,17 +76,7 @@ class RenderBox : public RenderBoxModelObject {
|
| public:
|
| explicit RenderBox(ContainerNode*);
|
|
|
| - // hasAutoZIndex only returns true if the element is positioned or a flex-item since
|
| - // position:static elements that are not flex-items get their z-index coerced to auto.
|
| - virtual LayerType layerTypeRequired() const override
|
| - {
|
| - if (isPositioned() || createsGroup() || hasClipPath() || hasTransformRelatedProperty() || hasHiddenBackface() || hasReflection() || style()->specifiesColumns() || !style()->hasAutoZIndex() || style()->shouldCompositeForCurrentAnimations())
|
| - return NormalLayer;
|
| - if (hasOverflowClip())
|
| - return OverflowClipLayer;
|
| -
|
| - return NoLayer;
|
| - }
|
| + virtual LayerType layerTypeRequired() const override;
|
|
|
| virtual bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect) const override;
|
|
|
|
|