Index: Source/WebCore/rendering/RenderLayer.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderLayer.cpp (revision 145114) |
+++ Source/WebCore/rendering/RenderLayer.cpp (working copy) |
@@ -3754,7 +3754,7 @@ |
} |
// Paint the background. |
- PaintInfo paintInfo(context, pixelSnappedIntRect(damageRect.rect()), PaintPhaseBlockBackground, paintBehavior, paintingRootForRenderer, localPaintingInfo.region); |
+ PaintInfo paintInfo(context, pixelSnappedIntRect(damageRect.rect()), PaintPhaseBlockBackground, paintBehavior, paintingRootForRenderer, localPaintingInfo.region, 0, 0, localPaintingInfo.rootLayer->renderer()); |
renderer()->paint(paintInfo, paintOffset); |
if (useClipRect) { |
@@ -3781,7 +3781,8 @@ |
PaintInfo paintInfo(context, pixelSnappedIntRect(clipRectToApply.rect()), |
selectionOnly ? PaintPhaseSelection : PaintPhaseChildBlockBackgrounds, |
- forceBlackText ? (PaintBehavior)PaintBehaviorForceBlackText : paintBehavior, paintingRootForRenderer, localPaintingInfo.region); |
+ forceBlackText ? (PaintBehavior)PaintBehaviorForceBlackText : paintBehavior, paintingRootForRenderer, localPaintingInfo.region, |
+ 0, 0, localPaintingInfo.rootLayer->renderer()); |
renderer()->paint(paintInfo, paintOffset); |
if (!selectionOnly) { |
paintInfo.phase = PaintPhaseFloat; |
@@ -3801,7 +3802,7 @@ |
if (shouldPaintOutline && !outlineRect.isEmpty()) { |
// Paint our own outline |
- PaintInfo paintInfo(context, pixelSnappedIntRect(outlineRect.rect()), PaintPhaseSelfOutline, paintBehavior, paintingRootForRenderer, localPaintingInfo.region); |
+ PaintInfo paintInfo(context, pixelSnappedIntRect(outlineRect.rect()), PaintPhaseSelfOutline, paintBehavior, paintingRootForRenderer, localPaintingInfo.region, 0, 0, localPaintingInfo.rootLayer->renderer()); |
clipToRect(localPaintingInfo.rootLayer, context, localPaintingInfo.paintDirtyRect, outlineRect, DoNotIncludeSelfForBorderRadius); |
renderer()->paint(paintInfo, paintOffset); |
restoreClip(context, localPaintingInfo.paintDirtyRect, outlineRect); |
@@ -3837,7 +3838,7 @@ |
clipToRect(localPaintingInfo.rootLayer, context, localPaintingInfo.paintDirtyRect, damageRect, DoNotIncludeSelfForBorderRadius); // Mask painting will handle clipping to self. |
// Paint the mask. |
- PaintInfo paintInfo(context, pixelSnappedIntRect(damageRect.rect()), PaintPhaseMask, PaintBehaviorNormal, paintingRootForRenderer, localPaintingInfo.region); |
+ PaintInfo paintInfo(context, pixelSnappedIntRect(damageRect.rect()), PaintPhaseMask, PaintBehaviorNormal, paintingRootForRenderer, localPaintingInfo.region, 0, 0, localPaintingInfo.rootLayer->renderer()); |
renderer()->paint(paintInfo, paintOffset); |
if (useClipRect) { |