Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / rendering / RenderScrollbar.cpp
index 4ea0ba7..a356c19 100644 (file)
@@ -34,7 +34,7 @@
 #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)
 {
@@ -110,15 +110,6 @@ void RenderScrollbar::styleChanged()
     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)