Index: Source/core/paint/ReplacedPainter.cpp |
diff --git a/Source/core/paint/ReplacedPainter.cpp b/Source/core/paint/ReplacedPainter.cpp |
index 80b518b32626d26a49dda6fdbd415cd9ba7f0fea..1962ee79dfae8be8eef6fd488f8d933516311cbb 100644 |
--- a/Source/core/paint/ReplacedPainter.cpp |
+++ b/Source/core/paint/ReplacedPainter.cpp |
@@ -6,6 +6,7 @@ |
#include "core/paint/ReplacedPainter.h" |
#include "core/paint/BoxPainter.h" |
+#include "core/paint/ObjectPainter.h" |
#include "core/rendering/GraphicsContextAnnotator.h" |
#include "core/rendering/PaintInfo.h" |
#include "core/rendering/RenderLayer.h" |
@@ -35,7 +36,7 @@ void ReplacedPainter::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset |
LayoutRect paintRect = LayoutRect(adjustedPaintOffset, m_renderReplaced.size()); |
if ((paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) && m_renderReplaced.style()->outlineWidth()) |
- m_renderReplaced.paintOutline(paintInfo, paintRect); |
+ ObjectPainter(m_renderReplaced).paintOutline(paintInfo, paintRect); |
if (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseSelection && !m_renderReplaced.canHaveChildren() && paintInfo.phase != PaintPhaseClippingMask) |
return; |