| Index: Source/core/rendering/RenderReplaced.cpp
|
| diff --git a/Source/core/rendering/RenderReplaced.cpp b/Source/core/rendering/RenderReplaced.cpp
|
| index 5d1dae4fac814b0a643fcd0ce1415562eb2837a7..3b1204dbafbc01a5c4a5bc9d63925498d484b680 100644
|
| --- a/Source/core/rendering/RenderReplaced.cpp
|
| +++ b/Source/core/rendering/RenderReplaced.cpp
|
| @@ -204,12 +204,10 @@ bool RenderReplaced::shouldPaint(PaintInfo& paintInfo, const LayoutPoint& paintO
|
| bottom = max(selBottom, bottom);
|
| }
|
|
|
| - LayoutRect localRepaintRect = paintInfo.rect;
|
| - localRepaintRect.inflate(maximalOutlineSize(paintInfo.phase));
|
| - if (adjustedPaintOffset.x() + visualOverflowRect().x() >= localRepaintRect.maxX() || adjustedPaintOffset.x() + visualOverflowRect().maxX() <= localRepaintRect.x())
|
| + if (adjustedPaintOffset.x() + visualOverflowRect().x() >= paintInfo.rect.maxX() || adjustedPaintOffset.x() + visualOverflowRect().maxX() <= paintInfo.rect.x())
|
| return false;
|
|
|
| - if (top >= localRepaintRect.maxY() || bottom <= localRepaintRect.y())
|
| + if (top >= paintInfo.rect.maxY() || bottom <= paintInfo.rect.y())
|
| return false;
|
|
|
| return true;
|
| @@ -627,10 +625,6 @@ LayoutRect RenderReplaced::clippedOverflowRectForRepaint(const RenderLayerModelO
|
| r.move(v->layoutDelta());
|
| }
|
|
|
| - if (style()) {
|
| - if (v)
|
| - r.inflate(style()->outlineSize());
|
| - }
|
| computeRectForRepaint(repaintContainer, r);
|
| return r;
|
| }
|
|
|