#include "core/rendering/RenderScrollbarTheme.h"
#include "platform/graphics/GraphicsContext.h"
-namespace WebCore {
+namespace blink {
PassRefPtr<Scrollbar> RenderScrollbar::createCustomScrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, Node* ownerNode, LocalFrame* owningFrame)
{
updateScrollbarParts();
}
-void RenderScrollbar::paint(GraphicsContext* context, const IntRect& damageRect)
-{
- if (context->updatingControlTints()) {
- updateScrollbarParts();
- return;
- }
- Scrollbar::paint(context, damageRect);
-}
-
void RenderScrollbar::setHoveredPart(ScrollbarPart part)
{
if (part == m_hoveredPart)