| Index: Source/core/rendering/RenderScrollbarPart.cpp
|
| diff --git a/Source/core/rendering/RenderScrollbarPart.cpp b/Source/core/rendering/RenderScrollbarPart.cpp
|
| index 1d9d4a3894fba4ce603782d088816cf8ae1e3dcf..ce8ed17311751b0ce89b52491a42b660fb50240f 100644
|
| --- a/Source/core/rendering/RenderScrollbarPart.cpp
|
| +++ b/Source/core/rendering/RenderScrollbarPart.cpp
|
| @@ -169,26 +169,6 @@ void RenderScrollbarPart::imageChanged(WrappedImagePtr image, const IntRect* rec
|
| }
|
| }
|
|
|
| -void RenderScrollbarPart::paintIntoRect(GraphicsContext* graphicsContext, const LayoutPoint& paintOffset, const LayoutRect& rect)
|
| -{
|
| - // Make sure our dimensions match the rect.
|
| - setLocation(rect.location() - toSize(paintOffset));
|
| - setWidth(rect.width());
|
| - setHeight(rect.height());
|
| -
|
| - // Now do the paint.
|
| - PaintInfo paintInfo(graphicsContext, pixelSnappedIntRect(rect), PaintPhaseBlockBackground, PaintBehaviorNormal);
|
| - paint(paintInfo, paintOffset);
|
| - paintInfo.phase = PaintPhaseChildBlockBackgrounds;
|
| - paint(paintInfo, paintOffset);
|
| - paintInfo.phase = PaintPhaseFloat;
|
| - paint(paintInfo, paintOffset);
|
| - paintInfo.phase = PaintPhaseForeground;
|
| - paint(paintInfo, paintOffset);
|
| - paintInfo.phase = PaintPhaseOutline;
|
| - paint(paintInfo, paintOffset);
|
| -}
|
| -
|
| RenderObject* RenderScrollbarPart::rendererOwningScrollbar() const
|
| {
|
| if (!m_scrollbar)
|
|
|