| Index: sky/engine/core/rendering/RenderLayer.cpp
|
| diff --git a/sky/engine/core/rendering/RenderLayer.cpp b/sky/engine/core/rendering/RenderLayer.cpp
|
| index cd60e82e415389a6ea81e2f0e6a0845ea7f8ecaa..da5e00a870b146f80f87f72b03a2823501d8d4fa 100644
|
| --- a/sky/engine/core/rendering/RenderLayer.cpp
|
| +++ b/sky/engine/core/rendering/RenderLayer.cpp
|
| @@ -305,7 +305,7 @@ bool RenderLayer::update3DTransformedDescendantStatus()
|
|
|
| // Transformed or preserve-3d descendants can only be in the z-order lists, not
|
| // in the normal flow list, so we only need to check those.
|
| - RenderLayerStackingNodeIterator iterator(*m_stackingNode.get(), PositiveZOrderChildren | NegativeZOrderChildren);
|
| + RenderLayerStackingNodeIterator iterator(*m_stackingNode.get(), PositiveZOrderChildren);
|
| while (RenderLayerStackingNode* node = iterator.next())
|
| m_has3DTransformedDescendant |= node->layer()->update3DTransformedDescendantStatus();
|
|
|
| @@ -1043,8 +1043,6 @@ void RenderLayer::paintLayerContents(GraphicsContext* context, const LayerPainti
|
|
|
| LayoutPoint layerLocation = toPoint(layerBounds.location() - renderBoxLocation() + localPaintingInfo.subPixelAccumulation);
|
|
|
| - paintChildren(NegativeZOrderChildren, context, paintingInfo, paintFlags);
|
| -
|
| if (shouldPaintContent) {
|
| paintForeground(context, transparencyLayerContext, paintingInfo.paintDirtyRect, haveTransparency,
|
| localPaintingInfo, paintingRootForRenderer, layerLocation, foregroundRect);
|
| @@ -1441,15 +1439,6 @@ RenderLayer* RenderLayer::hitTestLayer(RenderLayer* rootLayer, RenderLayer* cont
|
| }
|
| }
|
|
|
| - // Now check our negative z-index children.
|
| - hitLayer = hitTestChildren(NegativeZOrderChildren, rootLayer, request, result, hitTestRect, hitTestLocation,
|
| - localTransformState.get(), zOffsetForDescendantsPtr, zOffset, unflattenedTransformState.get(), depthSortDescendants);
|
| - if (hitLayer) {
|
| - if (!depthSortDescendants)
|
| - return hitLayer;
|
| - candidateLayer = hitLayer;
|
| - }
|
| -
|
| // If we found a layer, return. Child layers, and foreground always render in front of background.
|
| if (candidateLayer)
|
| return candidateLayer;
|
|
|