Index: Source/core/platform/ScrollView.cpp |
diff --git a/Source/core/platform/ScrollView.cpp b/Source/core/platform/ScrollView.cpp |
index 17f4180a36dc53b3e1f0962420ee9c09904a5a58..bbb2b2db74266366525bae36e5e55a76fe51a6b5 100644 |
--- a/Source/core/platform/ScrollView.cpp |
+++ b/Source/core/platform/ScrollView.cpp |
@@ -211,7 +211,7 @@ IntRect ScrollView::visibleContentRect(VisibleContentRectIncludesScrollbars scol |
IntSize ScrollView::layoutSize(VisibleContentRectIncludesScrollbars scrollbarInclusion) const |
{ |
- return m_fixedLayoutSize.isEmpty() || !m_useFixedLayout ? unscaledVisibleContentSize(scrollbarInclusion) : m_fixedLayoutSize; |
+ return m_fixedLayoutSize.isZero() || !m_useFixedLayout ? unscaledVisibleContentSize(scrollbarInclusion) : m_fixedLayoutSize; |
} |
IntSize ScrollView::fixedLayoutSize() const |