Index: third_party/WebKit/Source/core/layout/ColumnBalancer.h |
diff --git a/third_party/WebKit/Source/core/layout/ColumnBalancer.h b/third_party/WebKit/Source/core/layout/ColumnBalancer.h |
index e559e05a4028d6c9e98489e128e02412e8cde9b6..40fd612c4f522ca49773b5a17b546d94680b132c 100644 |
--- a/third_party/WebKit/Source/core/layout/ColumnBalancer.h |
+++ b/third_party/WebKit/Source/core/layout/ColumnBalancer.h |
@@ -33,14 +33,14 @@ protected: |
bool isLogicalTopWithinBounds(LayoutUnit logicalTopInFlowThread) const |
{ |
- return (m_group.isFirstGroup() || logicalTopInFlowThread >= m_group.logicalTopInFlowThread()) |
- && (m_group.isLastGroup() || logicalTopInFlowThread < m_group.logicalBottomInFlowThread()); |
+ return logicalTopInFlowThread >= m_group.logicalTopInFlowThread() |
+ && logicalTopInFlowThread < m_group.logicalBottomInFlowThread(); |
} |
bool isLogicalBottomWithinBounds(LayoutUnit logicalBottomInFlowThread) const |
{ |
- return (m_group.isFirstGroup() || logicalBottomInFlowThread > m_group.logicalTopInFlowThread()) |
- && (m_group.isLastGroup() || logicalBottomInFlowThread <= m_group.logicalBottomInFlowThread()); |
+ return logicalBottomInFlowThread > m_group.logicalTopInFlowThread() |
+ && logicalBottomInFlowThread <= m_group.logicalBottomInFlowThread(); |
} |
// Examine and collect column balancing data from a layout box that has been found to intersect |