Index: Source/WebCore/platform/ScrollView.cpp |
=================================================================== |
--- Source/WebCore/platform/ScrollView.cpp (revision 141506) |
+++ Source/WebCore/platform/ScrollView.cpp (working copy) |
@@ -602,7 +602,7 @@ |
m_verticalScrollbar->setSuppressInvalidation(false); |
} |
- if (hasHorizontalScrollbar != (m_horizontalScrollbar != 0) || hasVerticalScrollbar != (m_verticalScrollbar != 0)) { |
+ if (hasHorizontalScrollbar != newHasHorizontalScrollbar || hasVerticalScrollbar != newHasVerticalScrollbar) { |
// FIXME: Is frameRectsChanged really necessary here? Have any frame rects changed? |
frameRectsChanged(); |
positionScrollbarLayers(); |