Index: Source/core/rendering/RenderListBox.cpp |
diff --git a/Source/core/rendering/RenderListBox.cpp b/Source/core/rendering/RenderListBox.cpp |
index a9eb086d9a7655c9e43a7d9d2f4cbdfd5c8c68b0..f57eb61c5a1491f511c0145a257cb753408137d0 100644 |
--- a/Source/core/rendering/RenderListBox.cpp |
+++ b/Source/core/rendering/RenderListBox.cpp |
@@ -957,7 +957,7 @@ void RenderListBox::destroyScrollbar() |
void RenderListBox::setHasVerticalScrollbar(bool hasScrollbar) |
{ |
- if (hasScrollbar == (m_vBar != 0)) |
+ if (hasScrollbar == !!m_vBar) |
return; |
if (hasScrollbar) |