Index: Source/WebCore/rendering/RenderListBox.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderListBox.cpp (revision 118271) |
+++ Source/WebCore/rendering/RenderListBox.cpp (working copy) |
@@ -831,7 +831,7 @@ |
RefPtr<Scrollbar> widget; |
bool hasCustomScrollbarStyle = style()->hasPseudoStyle(SCROLLBAR); |
if (hasCustomScrollbarStyle) |
- widget = RenderScrollbar::createCustomScrollbar(this, VerticalScrollbar, this); |
+ widget = RenderScrollbar::createCustomScrollbar(this, VerticalScrollbar, this->node()); |
else { |
widget = Scrollbar::createNativeScrollbar(this, VerticalScrollbar, theme()->scrollbarControlSizeForPart(ListboxPart)); |
didAddVerticalScrollbar(widget.get()); |