| Index: Source/core/rendering/RenderPart.cpp
|
| diff --git a/Source/core/rendering/RenderPart.cpp b/Source/core/rendering/RenderPart.cpp
|
| index 56a0d2c6aaa4f23b7380b3d04024442ebd20f221..416d4daffea531d13de2aa75ffd57a8fca13c6f9 100644
|
| --- a/Source/core/rendering/RenderPart.cpp
|
| +++ b/Source/core/rendering/RenderPart.cpp
|
| @@ -223,6 +223,7 @@ void RenderPart::layout()
|
| clearNeedsLayout();
|
| }
|
|
|
| +// FIXME: factor into PartPainter.
|
| void RenderPart::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
| {
|
| ANNOTATE_GRAPHICS_CONTEXT(paintInfo, this);
|
| @@ -241,7 +242,7 @@ void RenderPart::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
| }
|
|
|
| if ((paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) && style()->hasOutline())
|
| - paintOutline(paintInfo, LayoutRect(adjustedPaintOffset, size()));
|
| + ObjectPainter(*this).paintOutline(paintInfo, LayoutRect(adjustedPaintOffset, size()));
|
|
|
| if (paintInfo.phase != PaintPhaseForeground)
|
| return;
|
|
|