| Index: Source/core/rendering/RenderReplica.cpp
|
| diff --git a/Source/core/rendering/RenderReplica.cpp b/Source/core/rendering/RenderReplica.cpp
|
| index c5831f6c67d9719b832faf88adec39a0641b496a..5b0cca34c04979ec4879acd0bda7a6549c847f76 100644
|
| --- a/Source/core/rendering/RenderReplica.cpp
|
| +++ b/Source/core/rendering/RenderReplica.cpp
|
| @@ -73,19 +73,19 @@ void RenderReplica::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
| {
|
| ANNOTATE_GRAPHICS_CONTEXT(paintInfo, this);
|
|
|
| - if (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseMask)
|
| + if (paintInfo.getPhase() != PaintPhaseForeground && paintInfo.getPhase() != PaintPhaseMask)
|
| return;
|
|
|
| LayoutPoint adjustedPaintOffset = paintOffset + location();
|
|
|
| - if (paintInfo.phase == PaintPhaseForeground) {
|
| + if (paintInfo.getPhase() == PaintPhaseForeground) {
|
| // 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
|
| RenderLayer* rootPaintingLayer = layer()->transform() ? layer()->parent() : layer()->enclosingTransformedAncestor();
|
| - RenderLayer::LayerPaintingInfo paintingInfo(rootPaintingLayer, paintInfo.rect, PaintBehaviorNormal, LayoutSize(), 0, paintInfo.renderRegion);
|
| + RenderLayer::LayerPaintingInfo paintingInfo(rootPaintingLayer, paintInfo.getRect(), PaintBehaviorNormal, LayoutSize(), 0, paintInfo.getRenderRegion());
|
| RenderLayer::PaintLayerFlags flags = RenderLayer::PaintLayerHaveTransparency | RenderLayer::PaintLayerAppliedTransform | RenderLayer::PaintLayerTemporaryClipRects | RenderLayer::PaintLayerPaintingReflection;
|
| - layer()->parent()->paintLayer(paintInfo.context, paintingInfo, flags);
|
| - } else if (paintInfo.phase == PaintPhaseMask)
|
| + layer()->parent()->paintLayer(paintInfo.getContext(), paintingInfo, flags);
|
| + } else if (paintInfo.getPhase() == PaintPhaseMask)
|
| paintMask(paintInfo, adjustedPaintOffset);
|
| }
|
|
|
|
|