| Index: Source/core/paint/PartPainter.cpp
|
| diff --git a/Source/core/paint/PartPainter.cpp b/Source/core/paint/PartPainter.cpp
|
| index 8eba600cf3bd8803d8cdc048a2f848ac0a0a21e4..02b92a43fc17e12e1d48bbe1fe2ec2634cadc5ed 100644
|
| --- a/Source/core/paint/PartPainter.cpp
|
| +++ b/Source/core/paint/PartPainter.cpp
|
| @@ -33,11 +33,8 @@ void PartPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintOffs
|
| return;
|
| }
|
|
|
| - LayoutRect visualOverflowRect(m_layoutPart.visualOverflowRect());
|
| - visualOverflowRect.moveBy(adjustedPaintOffset);
|
| -
|
| if ((paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) && m_layoutPart.style()->hasOutline())
|
| - ObjectPainter(m_layoutPart).paintOutline(paintInfo, borderRect, visualOverflowRect);
|
| + ObjectPainter(m_layoutPart).paintOutline(paintInfo, m_layoutPart.visualOverflowRect(), borderRect.size(), adjustedPaintOffset);
|
|
|
| if (paintInfo.phase != PaintPhaseForeground)
|
| return;
|
|
|