| Index: third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| index 8872d9016e7e66048e593dad232b9c7db6ef8038..d0679c66954934d778ec85645b7fa7a14ed53f60 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| @@ -234,10 +234,8 @@ void LayoutBlockFlow::checkForPaginationLogicalHeightChange(LayoutUnit& pageLogi
|
| // don't know the actual height of the content yet, only call that method when height is
|
| // definite, or we might fool ourselves into believing that columns have a definite height
|
| // when they in fact don't.
|
| - // To check if we've a definite height we verify that percentage height is resolvable
|
| - // on the first in-flow child.
|
| LayoutUnit columnHeight;
|
| - if (!firstInFlowChildBox() || firstInFlowChildBox()->percentageLogicalHeightIsResolvable() || isLayoutView()) {
|
| + if (hasDefiniteLogicalHeight() || isLayoutView()) {
|
| LogicalExtentComputedValues computedValues;
|
| computeLogicalHeight(LayoutUnit(), logicalTop(), computedValues);
|
| columnHeight = computedValues.m_extent - borderAndPaddingLogicalHeight() - scrollbarLogicalHeight();
|
|
|