Index: third_party/WebKit/WebCore/rendering/RenderListBox.cpp |
=================================================================== |
--- third_party/WebKit/WebCore/rendering/RenderListBox.cpp (revision 10396) |
+++ third_party/WebKit/WebCore/rendering/RenderListBox.cpp (working copy) |
@@ -629,7 +629,7 @@ |
if (hasCustomScrollbarStyle) |
widget = RenderScrollbar::createCustomScrollbar(this, VerticalScrollbar, this); |
else |
- widget = Scrollbar::createNativeScrollbar(this, VerticalScrollbar, SmallScrollbar); |
+ widget = Scrollbar::createNativeScrollbar(this, VerticalScrollbar, theme()->scrollbarControlSizeForPart(ListboxPart)); |
document()->view()->addChild(widget.get()); |
return widget.release(); |
} |