| Index: Source/core/paint/InlineFlowBoxPainter.cpp
|
| diff --git a/Source/core/paint/InlineFlowBoxPainter.cpp b/Source/core/paint/InlineFlowBoxPainter.cpp
|
| index 6f8698bbf2fc1f7e7cb37f0028580cbecd19f1fc..aac92b8321fd2573bc80eac5634249ae64e6b412 100644
|
| --- a/Source/core/paint/InlineFlowBoxPainter.cpp
|
| +++ b/Source/core/paint/InlineFlowBoxPainter.cpp
|
| @@ -67,7 +67,7 @@ void InlineFlowBoxPainter::paint(const PaintInfo& paintInfo, const LayoutPoint&
|
| return;
|
| } else if (paintInfo.phase == PaintPhaseForeground) {
|
| // Paint our background, border and box-shadow.
|
| - paintBoxDecorationBackground(paintInfo, paintOffset);
|
| + paintBoxDecorationBackground(paintInfo, paintOffset, overflowRect);
|
| }
|
|
|
| // Paint our children.
|
| @@ -210,7 +210,7 @@ InlineFlowBoxPainter::BorderPaintingType InlineFlowBoxPainter::getBorderPaintTyp
|
| return DontPaintBorders;
|
| }
|
|
|
| -void InlineFlowBoxPainter::paintBoxDecorationBackground(const PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
| +void InlineFlowBoxPainter::paintBoxDecorationBackground(const PaintInfo& paintInfo, const LayoutPoint& paintOffset, const LayoutRect& cullRect)
|
| {
|
| ASSERT(paintInfo.phase == PaintPhaseForeground);
|
| if (!paintInfo.shouldPaintWithinRoot(&m_inlineFlowBox.layoutObject()) || m_inlineFlowBox.layoutObject().style()->visibility() != VISIBLE)
|
|
|