| Index: Source/core/rendering/RenderBlockFlow.cpp
|
| diff --git a/Source/core/rendering/RenderBlockFlow.cpp b/Source/core/rendering/RenderBlockFlow.cpp
|
| index 615ed05bca681ac9afc8cb7a02989b684b5f841e..0d371aa66d299744b416c0eaf228cff9323deac4 100644
|
| --- a/Source/core/rendering/RenderBlockFlow.cpp
|
| +++ b/Source/core/rendering/RenderBlockFlow.cpp
|
| @@ -783,7 +783,7 @@ static inline LayoutUnit calculateMinimumPageHeight(RenderStyle* renderStyle, Ro
|
| {
|
| // 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 lineCount = std::max<unsigned>(renderStyle->hasAutoOrphans() ? 1 : renderStyle->orphans(), renderStyle->hasAutoWidows() ? 1 : renderStyle->widows());
|
| + unsigned lineCount = std::max<unsigned>(renderStyle->hasAutoOrphans() ? 1 : renderStyle->orphans(), renderStyle->widows());
|
| if (lineCount > 1) {
|
| RootInlineBox* line = lastLine;
|
| for (unsigned i = 1; i < lineCount && line->prevRootBox(); i++)
|
|
|