Index: Source/core/paint/PartPainter.cpp |
diff --git a/Source/core/paint/PartPainter.cpp b/Source/core/paint/PartPainter.cpp |
index 83e3d17bfd5790b704d1a3d0da6437d11a0a4269..65be5b88059dcd00fefb12c6e9518e8d87c55313 100644 |
--- a/Source/core/paint/PartPainter.cpp |
+++ b/Source/core/paint/PartPainter.cpp |
@@ -7,6 +7,7 @@ |
#include "core/paint/BoxPainter.h" |
+#include "core/paint/ScrollableAreaPainter.h" |
#include "core/rendering/GraphicsContextAnnotator.h" |
#include "core/rendering/PaintInfo.h" |
#include "core/rendering/RenderLayer.h" |
@@ -64,7 +65,7 @@ void PartPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintOffs |
} |
if (m_renderPart.canResize()) |
- m_renderPart.layer()->scrollableArea()->paintResizer(paintInfo.context, roundedIntPoint(adjustedPaintOffset), paintInfo.rect); |
+ ScrollableAreaPainter(*m_renderPart.layer()->scrollableArea()).paintResizer(paintInfo.context, roundedIntPoint(adjustedPaintOffset), paintInfo.rect); |
} |
void PartPainter::paintContents(const PaintInfo& paintInfo, const LayoutPoint& paintOffset) |