Index: Source/core/rendering/RenderScrollbar.cpp |
diff --git a/Source/core/rendering/RenderScrollbar.cpp b/Source/core/rendering/RenderScrollbar.cpp |
index 66577733291e0d8a4059c89c22b96a6c6da36f7e..18bc01b7d74881fbeb34393305044fa652c28666 100644 |
--- a/Source/core/rendering/RenderScrollbar.cpp |
+++ b/Source/core/rendering/RenderScrollbar.cpp |
@@ -123,10 +123,8 @@ void RenderScrollbar::setParent(Widget* parent) |
void RenderScrollbar::setEnabled(bool e) |
{ |
- bool wasEnabled = enabled(); |
Scrollbar::setEnabled(e); |
- if (wasEnabled != e) |
- updateScrollbarParts(); |
+ updateScrollbarParts(); |
} |
void RenderScrollbar::styleChanged() |