X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Fpaint%2FReplicaPainter.cpp;h=ee762292337e477c10b16e571c66903ee1225768;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=2df4d3dae970a97959361ed4280ee7bbdc2f844e;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/paint/ReplicaPainter.cpp b/src/third_party/WebKit/Source/core/paint/ReplicaPainter.cpp index 2df4d3d..ee76229 100644 --- a/src/third_party/WebKit/Source/core/paint/ReplicaPainter.cpp +++ b/src/third_party/WebKit/Source/core/paint/ReplicaPainter.cpp @@ -5,6 +5,7 @@ #include "config.h" #include "core/paint/ReplicaPainter.h" +#include "core/paint/LayerPainter.h" #include "core/rendering/GraphicsContextAnnotator.h" #include "core/rendering/PaintInfo.h" #include "core/rendering/RenderLayer.h" @@ -27,7 +28,7 @@ void ReplicaPainter::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) RenderLayer* rootPaintingLayer = m_renderReplica.layer()->transform() ? m_renderReplica.layer()->parent() : m_renderReplica.layer()->enclosingTransformedAncestor(); LayerPaintingInfo paintingInfo(rootPaintingLayer, paintInfo.rect, PaintBehaviorNormal, LayoutSize(), 0); PaintLayerFlags flags = PaintLayerHaveTransparency | PaintLayerAppliedTransform | PaintLayerUncachedClipRects | PaintLayerPaintingReflection; - m_renderReplica.layer()->parent()->paintLayer(paintInfo.context, paintingInfo, flags); + LayerPainter(*m_renderReplica.layer()->parent()).paintLayer(paintInfo.context, paintingInfo, flags); } else if (paintInfo.phase == PaintPhaseMask) { m_renderReplica.paintMask(paintInfo, adjustedPaintOffset); }