Index: Source/WebCore/rendering/RenderLayer.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderLayer.cpp (revision 130524) |
+++ Source/WebCore/rendering/RenderLayer.cpp (working copy) |
@@ -3158,6 +3158,8 @@ |
calculateRects(rootLayer, region, (localPaintFlags & PaintLayerTemporaryClipRects) ? TemporaryClipRects : PaintingClipRects, paintDirtyRect, layerBounds, damageRect, clipRectToApply, outlineRect, |
IgnoreOverlayScrollbarSize, localPaintFlags & PaintLayerPaintingOverflowContents ? IgnoreOverflowClip : RespectOverflowClip); |
paintOffset = toPoint(layerBounds.location() - renderBoxLocation() + subPixelAccumulation); |
+ if (this == rootLayer) |
+ paintOffset = roundedIntPoint(paintOffset); |
} |
bool forceBlackText = paintBehavior & PaintBehaviorForceBlackText; |