Index: Source/core/paint/ReplicaPainter.cpp |
diff --git a/Source/core/paint/ReplicaPainter.cpp b/Source/core/paint/ReplicaPainter.cpp |
index d3fdc8fccb56ed66d1c8f46ba73c4a74da8d91b4..606107a1b1895711139931677643e55a3a0d89b6 100644 |
--- a/Source/core/paint/ReplicaPainter.cpp |
+++ b/Source/core/paint/ReplicaPainter.cpp |
@@ -24,7 +24,7 @@ void ReplicaPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintO |
// Turn around and paint the parent layer. Use temporary clipRects, so that the layer doesn't end up caching clip rects |
// computing using the wrong rootLayer |
DeprecatedPaintLayer* rootPaintingLayer = m_layoutReplica.layer()->transform() ? m_layoutReplica.layer()->parent() : m_layoutReplica.layer()->enclosingTransformedAncestor(); |
- DeprecatedPaintLayerPaintingInfo paintingInfo(rootPaintingLayer, LayoutRect(paintInfo.rect), PaintBehaviorNormal, LayoutSize(), 0); |
+ DeprecatedPaintLayerPaintingInfo paintingInfo(rootPaintingLayer, LayoutRect(paintInfo.rect), PaintBehaviorNormal, LayoutSize(), 0, paintInfo.paintDataCache()); |
PaintLayerFlags flags = PaintLayerHaveTransparency | PaintLayerAppliedTransform | PaintLayerUncachedClipRects | PaintLayerPaintingReflection; |
DeprecatedPaintLayerPainter(*m_layoutReplica.layer()->parent()).paintLayer(paintInfo.context, paintingInfo, flags); |
} else if (paintInfo.phase == PaintPhaseMask) { |