Index: third_party/WebKit/Source/core/layout/ColumnBalancer.cpp |
diff --git a/third_party/WebKit/Source/core/layout/ColumnBalancer.cpp b/third_party/WebKit/Source/core/layout/ColumnBalancer.cpp |
index 1ba071994ee615703c926bdedf4bb874cca748d3..c6ebd999f64186e7ae9cd2c633b045cb1912113f 100644 |
--- a/third_party/WebKit/Source/core/layout/ColumnBalancer.cpp |
+++ b/third_party/WebKit/Source/core/layout/ColumnBalancer.cpp |
@@ -139,7 +139,7 @@ static inline LayoutUnit columnLogicalHeightRequirementForLine(const ComputedSty |
{ |
// We may require a certain minimum number of lines per page in order to satisfy |
// orphans and widows, and that may affect the minimum page height. |
- unsigned minimumLineCount = std::max<unsigned>(style.hasAutoOrphans() ? 1 : style.orphans(), style.widows()); |
+ unsigned minimumLineCount = std::max<unsigned>(style.orphans(), style.widows()); |
const RootInlineBox* firstLine = &lastLine; |
for (unsigned i = 1; i < minimumLineCount && firstLine->prevRootBox(); i++) |
firstLine = firstLine->prevRootBox(); |