diff options
Diffstat (limited to 'WebCore/rendering/RenderBlock.cpp')
-rw-r--r-- | WebCore/rendering/RenderBlock.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/rendering/RenderBlock.cpp b/WebCore/rendering/RenderBlock.cpp index 02b0079..28d7914 100644 --- a/WebCore/rendering/RenderBlock.cpp +++ b/WebCore/rendering/RenderBlock.cpp @@ -1265,8 +1265,8 @@ void RenderBlock::layoutBlock(bool relayoutChildren) int repaintRight = max(rightVisualOverflow(), rightLayoutOverflow()); IntRect repaintRect(repaintLeft, repaintTop, repaintRight - repaintLeft, repaintBottom - repaintTop); - // FIXME: Deal with multiple column repainting. We have to split the repaint - // rect up into multiple rects if it spans columns. + // The repaint rect may be split across columns, in which case adjustRectForColumns() will return the union. + adjustRectForColumns(repaintRect); repaintRect.inflate(maximalOutlineSize(PaintPhaseOutline)); |