| Index: sky/engine/core/rendering/RenderLayer.cpp
|
| diff --git a/sky/engine/core/rendering/RenderLayer.cpp b/sky/engine/core/rendering/RenderLayer.cpp
|
| index 24291a45b4ae4e2b7c0ba142b4353db580c86372..45bc9cc3a6cfe5453c1d7b2201c469ca5d7a8696 100644
|
| --- a/sky/engine/core/rendering/RenderLayer.cpp
|
| +++ b/sky/engine/core/rendering/RenderLayer.cpp
|
| @@ -967,8 +967,7 @@ void RenderLayer::paintLayer(GraphicsContext* context, const LayerPaintingInfo&
|
| if (paintsWithTransparency(paintingInfo.paintBehavior))
|
| paintFlags |= PaintLayerHaveTransparency;
|
|
|
| - // PaintLayerAppliedTransform is used in RenderReplica, to avoid applying the transform twice.
|
| - if (paintsWithTransform(paintingInfo.paintBehavior) && !(paintFlags & PaintLayerAppliedTransform)) {
|
| + if (paintsWithTransform(paintingInfo.paintBehavior)) {
|
| TransformationMatrix layerTransform = renderableTransform(paintingInfo.paintBehavior);
|
| // If the transform can't be inverted, then don't paint anything.
|
| if (!layerTransform.isInvertible())
|
| @@ -1012,16 +1011,13 @@ void RenderLayer::paintLayerContentsAndReflection(GraphicsContext* context, cons
|
| {
|
| ASSERT(isSelfPaintingLayer() || hasSelfPaintingLayerDescendant());
|
|
|
| - PaintLayerFlags localPaintFlags = paintFlags & ~(PaintLayerAppliedTransform);
|
| -
|
| - localPaintFlags |= PaintLayerPaintingCompositingAllPhases;
|
| + PaintLayerFlags localPaintFlags = paintFlags | PaintLayerPaintingCompositingAllPhases;
|
| paintLayerContents(context, paintingInfo, localPaintFlags);
|
| }
|
|
|
| void RenderLayer::paintLayerContents(GraphicsContext* context, const LayerPaintingInfo& paintingInfo, PaintLayerFlags paintFlags)
|
| {
|
| ASSERT(isSelfPaintingLayer() || hasSelfPaintingLayerDescendant());
|
| - ASSERT(!(paintFlags & PaintLayerAppliedTransform));
|
|
|
| bool haveTransparency = paintFlags & PaintLayerHaveTransparency;
|
| bool isSelfPaintingLayer = this->isSelfPaintingLayer();
|
|
|