Index: Source/core/rendering/RenderScrollbar.cpp |
diff --git a/Source/core/rendering/RenderScrollbar.cpp b/Source/core/rendering/RenderScrollbar.cpp |
index ef442a98ddb19f26901e2df8bfb0f376d073184e..9646734101c76affa0ffd53153822c4c576d4a8b 100644 |
--- a/Source/core/rendering/RenderScrollbar.cpp |
+++ b/Source/core/rendering/RenderScrollbar.cpp |
@@ -225,7 +225,7 @@ void RenderScrollbar::updateScrollbarPart(ScrollbarPart partType, bool destroy) |
RefPtr<RenderStyle> partStyle = !destroy ? getScrollbarPseudoStyle(partType, pseudoForScrollbarPart(partType)) : PassRefPtr<RenderStyle>(nullptr); |
- bool needRenderer = !destroy && partStyle && partStyle->display() != NONE && partStyle->visibility() == VISIBLE; |
+ bool needRenderer = !destroy && partStyle && partStyle->display() != NONE; |
if (needRenderer && partStyle->display() != BLOCK) { |
// See if we are a button that should not be visible according to OS settings. |