| Index: third_party/WebKit/Source/core/paint/ReplacedPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp b/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp
|
| index c8b5db2714403acdbcc31f598b831b2810a97c79..c718f642847a9f13a1fcc0554607cc4b0fa843d1 100644
|
| --- a/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp
|
| @@ -41,9 +41,8 @@ void ReplacedPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paint
|
| if (paintInfo.phase == PaintPhaseClippingMask && (!m_layoutReplaced.hasLayer() || !m_layoutReplaced.layer()->hasCompositedClippingMask()))
|
| return;
|
|
|
| - if (paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) {
|
| - if (m_layoutReplaced.styleRef().outlineWidth())
|
| - ObjectPainter(m_layoutReplaced).paintOutline(paintInfo, adjustedPaintOffset);
|
| + if (shouldPaintSelfOutline(paintInfo.phase)) {
|
| + ObjectPainter(m_layoutReplaced).paintOutline(paintInfo, adjustedPaintOffset);
|
| return;
|
| }
|
|
|
|
|